Package com.streamlayer.importer
Class CsvImportParseResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<CsvImportParseResult,CsvImportParseResult.Builder>
-
- com.streamlayer.importer.CsvImportParseResult.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CsvImportParseResultOrBuilder,java.lang.Cloneable
- Enclosing class:
- CsvImportParseResult
public static final class CsvImportParseResult.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CsvImportParseResult,CsvImportParseResult.Builder> implements CsvImportParseResultOrBuilder
Protobuf typestreamlayer.interactive.importer.CsvImportParseResult
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CsvImportParseResult.BuilderaddAllErrors(java.lang.Iterable<java.lang.String> values)repeated string errors = 3 [json_name = "errors"];CsvImportParseResult.BuilderaddAllInvalidRows(java.lang.Iterable<? extends CsvInvalidRow> values)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuilderaddAllQuestions(java.lang.Iterable<? extends QuestionSource> values)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuilderaddErrors(java.lang.String value)repeated string errors = 3 [json_name = "errors"];CsvImportParseResult.BuilderaddErrorsBytes(com.google.protobuf.ByteString value)repeated string errors = 3 [json_name = "errors"];CsvImportParseResult.BuilderaddInvalidRows(int index, CsvInvalidRow value)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuilderaddInvalidRows(int index, CsvInvalidRow.Builder builderForValue)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuilderaddInvalidRows(CsvInvalidRow value)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuilderaddInvalidRows(CsvInvalidRow.Builder builderForValue)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuilderaddQuestions(int index, QuestionSource value)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuilderaddQuestions(int index, QuestionSource.Builder builderForValue)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuilderaddQuestions(QuestionSource value)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuilderaddQuestions(QuestionSource.Builder builderForValue)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuilderclearErrors()repeated string errors = 3 [json_name = "errors"];CsvImportParseResult.BuilderclearInvalidRows()repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuilderclearQuestions()repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuilderclearTotal()uint32 total = 1 [json_name = "total"];java.lang.StringgetErrors(int index)repeated string errors = 3 [json_name = "errors"];com.google.protobuf.ByteStringgetErrorsBytes(int index)repeated string errors = 3 [json_name = "errors"];intgetErrorsCount()repeated string errors = 3 [json_name = "errors"];java.util.List<java.lang.String>getErrorsList()repeated string errors = 3 [json_name = "errors"];CsvInvalidRowgetInvalidRows(int index)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];intgetInvalidRowsCount()repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];java.util.List<CsvInvalidRow>getInvalidRowsList()repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];QuestionSourcegetQuestions(int index)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];intgetQuestionsCount()repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];java.util.List<QuestionSource>getQuestionsList()repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];intgetTotal()uint32 total = 1 [json_name = "total"];CsvImportParseResult.BuilderremoveInvalidRows(int index)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuilderremoveQuestions(int index)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuildersetErrors(int index, java.lang.String value)repeated string errors = 3 [json_name = "errors"];CsvImportParseResult.BuildersetInvalidRows(int index, CsvInvalidRow value)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuildersetInvalidRows(int index, CsvInvalidRow.Builder builderForValue)repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];CsvImportParseResult.BuildersetQuestions(int index, QuestionSource value)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuildersetQuestions(int index, QuestionSource.Builder builderForValue)repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];CsvImportParseResult.BuildersetTotal(int value)uint32 total = 1 [json_name = "total"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getTotal
public int getTotal()
uint32 total = 1 [json_name = "total"];- Specified by:
getTotalin interfaceCsvImportParseResultOrBuilder- Returns:
- The total.
-
setTotal
public CsvImportParseResult.Builder setTotal(int value)
uint32 total = 1 [json_name = "total"];- Parameters:
value- The total to set.- Returns:
- This builder for chaining.
-
clearTotal
public CsvImportParseResult.Builder clearTotal()
uint32 total = 1 [json_name = "total"];- Returns:
- This builder for chaining.
-
getInvalidRowsList
public java.util.List<CsvInvalidRow> getInvalidRowsList()
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];- Specified by:
getInvalidRowsListin interfaceCsvImportParseResultOrBuilder
-
getInvalidRowsCount
public int getInvalidRowsCount()
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];- Specified by:
getInvalidRowsCountin interfaceCsvImportParseResultOrBuilder
-
getInvalidRows
public CsvInvalidRow getInvalidRows(int index)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];- Specified by:
getInvalidRowsin interfaceCsvImportParseResultOrBuilder
-
setInvalidRows
public CsvImportParseResult.Builder setInvalidRows(int index, CsvInvalidRow value)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
setInvalidRows
public CsvImportParseResult.Builder setInvalidRows(int index, CsvInvalidRow.Builder builderForValue)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
addInvalidRows
public CsvImportParseResult.Builder addInvalidRows(CsvInvalidRow value)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
addInvalidRows
public CsvImportParseResult.Builder addInvalidRows(int index, CsvInvalidRow value)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
addInvalidRows
public CsvImportParseResult.Builder addInvalidRows(CsvInvalidRow.Builder builderForValue)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
addInvalidRows
public CsvImportParseResult.Builder addInvalidRows(int index, CsvInvalidRow.Builder builderForValue)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
addAllInvalidRows
public CsvImportParseResult.Builder addAllInvalidRows(java.lang.Iterable<? extends CsvInvalidRow> values)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
clearInvalidRows
public CsvImportParseResult.Builder clearInvalidRows()
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
removeInvalidRows
public CsvImportParseResult.Builder removeInvalidRows(int index)
repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
-
getErrorsList
public java.util.List<java.lang.String> getErrorsList()
repeated string errors = 3 [json_name = "errors"];- Specified by:
getErrorsListin interfaceCsvImportParseResultOrBuilder- Returns:
- A list containing the errors.
-
getErrorsCount
public int getErrorsCount()
repeated string errors = 3 [json_name = "errors"];- Specified by:
getErrorsCountin interfaceCsvImportParseResultOrBuilder- Returns:
- The count of errors.
-
getErrors
public java.lang.String getErrors(int index)
repeated string errors = 3 [json_name = "errors"];- Specified by:
getErrorsin interfaceCsvImportParseResultOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The errors at the given index.
-
getErrorsBytes
public com.google.protobuf.ByteString getErrorsBytes(int index)
repeated string errors = 3 [json_name = "errors"];- Specified by:
getErrorsBytesin interfaceCsvImportParseResultOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the errors at the given index.
-
setErrors
public CsvImportParseResult.Builder setErrors(int index, java.lang.String value)
repeated string errors = 3 [json_name = "errors"];- Parameters:
index- The index to set the value at.value- The errors to set.- Returns:
- This builder for chaining.
-
addErrors
public CsvImportParseResult.Builder addErrors(java.lang.String value)
repeated string errors = 3 [json_name = "errors"];- Parameters:
value- The errors to add.- Returns:
- This builder for chaining.
-
addAllErrors
public CsvImportParseResult.Builder addAllErrors(java.lang.Iterable<java.lang.String> values)
repeated string errors = 3 [json_name = "errors"];- Parameters:
values- The errors to add.- Returns:
- This builder for chaining.
-
clearErrors
public CsvImportParseResult.Builder clearErrors()
repeated string errors = 3 [json_name = "errors"];- Returns:
- This builder for chaining.
-
addErrorsBytes
public CsvImportParseResult.Builder addErrorsBytes(com.google.protobuf.ByteString value)
repeated string errors = 3 [json_name = "errors"];- Parameters:
value- The bytes of the errors to add.- Returns:
- This builder for chaining.
-
getQuestionsList
public java.util.List<QuestionSource> getQuestionsList()
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];- Specified by:
getQuestionsListin interfaceCsvImportParseResultOrBuilder
-
getQuestionsCount
public int getQuestionsCount()
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];- Specified by:
getQuestionsCountin interfaceCsvImportParseResultOrBuilder
-
getQuestions
public QuestionSource getQuestions(int index)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];- Specified by:
getQuestionsin interfaceCsvImportParseResultOrBuilder
-
setQuestions
public CsvImportParseResult.Builder setQuestions(int index, QuestionSource value)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
setQuestions
public CsvImportParseResult.Builder setQuestions(int index, QuestionSource.Builder builderForValue)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
addQuestions
public CsvImportParseResult.Builder addQuestions(QuestionSource value)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
addQuestions
public CsvImportParseResult.Builder addQuestions(int index, QuestionSource value)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
addQuestions
public CsvImportParseResult.Builder addQuestions(QuestionSource.Builder builderForValue)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
addQuestions
public CsvImportParseResult.Builder addQuestions(int index, QuestionSource.Builder builderForValue)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
addAllQuestions
public CsvImportParseResult.Builder addAllQuestions(java.lang.Iterable<? extends QuestionSource> values)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
clearQuestions
public CsvImportParseResult.Builder clearQuestions()
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
removeQuestions
public CsvImportParseResult.Builder removeQuestions(int index)
repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
-
-