main.java.com.streamlayer.importer.CsvImportParseResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: streamlayer/interactive/importer/importer.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.importer;
/**
* Protobuf type {@code streamlayer.interactive.importer.CsvImportParseResult}
*/
public final class CsvImportParseResult extends
com.google.protobuf.GeneratedMessageLite<
CsvImportParseResult, CsvImportParseResult.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.importer.CsvImportParseResult)
CsvImportParseResultOrBuilder {
private CsvImportParseResult() {
invalidRows_ = emptyProtobufList();
errors_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
questions_ = emptyProtobufList();
}
public static final int TOTAL_FIELD_NUMBER = 1;
private int total_;
/**
* uint32 total = 1 [json_name = "total"];
* @return The total.
*/
@java.lang.Override
public int getTotal() {
return total_;
}
/**
* uint32 total = 1 [json_name = "total"];
* @param value The total to set.
*/
private void setTotal(int value) {
total_ = value;
}
/**
* uint32 total = 1 [json_name = "total"];
*/
private void clearTotal() {
total_ = 0;
}
public static final int INVALID_ROWS_FIELD_NUMBER = 2;
private com.google.protobuf.Internal.ProtobufList invalidRows_;
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
@java.lang.Override
public java.util.List getInvalidRowsList() {
return invalidRows_;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public java.util.List extends com.streamlayer.importer.CsvInvalidRowOrBuilder>
getInvalidRowsOrBuilderList() {
return invalidRows_;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
@java.lang.Override
public int getInvalidRowsCount() {
return invalidRows_.size();
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
@java.lang.Override
public com.streamlayer.importer.CsvInvalidRow getInvalidRows(int index) {
return invalidRows_.get(index);
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public com.streamlayer.importer.CsvInvalidRowOrBuilder getInvalidRowsOrBuilder(
int index) {
return invalidRows_.get(index);
}
private void ensureInvalidRowsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = invalidRows_;
if (!tmp.isModifiable()) {
invalidRows_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
private void setInvalidRows(
int index, com.streamlayer.importer.CsvInvalidRow value) {
value.getClass();
ensureInvalidRowsIsMutable();
invalidRows_.set(index, value);
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
private void addInvalidRows(com.streamlayer.importer.CsvInvalidRow value) {
value.getClass();
ensureInvalidRowsIsMutable();
invalidRows_.add(value);
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
private void addInvalidRows(
int index, com.streamlayer.importer.CsvInvalidRow value) {
value.getClass();
ensureInvalidRowsIsMutable();
invalidRows_.add(index, value);
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
private void addAllInvalidRows(
java.lang.Iterable extends com.streamlayer.importer.CsvInvalidRow> values) {
ensureInvalidRowsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, invalidRows_);
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
private void clearInvalidRows() {
invalidRows_ = emptyProtobufList();
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
private void removeInvalidRows(int index) {
ensureInvalidRowsIsMutable();
invalidRows_.remove(index);
}
public static final int ERRORS_FIELD_NUMBER = 3;
private com.google.protobuf.Internal.ProtobufList errors_;
/**
* repeated string errors = 3 [json_name = "errors"];
* @return A list containing the errors.
*/
@java.lang.Override
public java.util.List getErrorsList() {
return errors_;
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @return The count of errors.
*/
@java.lang.Override
public int getErrorsCount() {
return errors_.size();
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param index The index of the element to return.
* @return The errors at the given index.
*/
@java.lang.Override
public java.lang.String getErrors(int index) {
return errors_.get(index);
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param index The index of the value to return.
* @return The bytes of the errors at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorsBytes(int index) {
return com.google.protobuf.ByteString.copyFromUtf8(
errors_.get(index));
}
private void ensureErrorsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp =
errors_; if (!tmp.isModifiable()) {
errors_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param index The index to set the value at.
* @param value The errors to set.
*/
private void setErrors(
int index, java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureErrorsIsMutable();
errors_.set(index, value);
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param value The errors to add.
*/
private void addErrors(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
ensureErrorsIsMutable();
errors_.add(value);
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param values The errors to add.
*/
private void addAllErrors(
java.lang.Iterable values) {
ensureErrorsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, errors_);
}
/**
* repeated string errors = 3 [json_name = "errors"];
*/
private void clearErrors() {
errors_ = com.google.protobuf.GeneratedMessageLite.emptyProtobufList();
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param value The bytes of the errors to add.
*/
private void addErrorsBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureErrorsIsMutable();
errors_.add(value.toStringUtf8());
}
public static final int QUESTIONS_FIELD_NUMBER = 4;
private com.google.protobuf.Internal.ProtobufList questions_;
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
@java.lang.Override
public java.util.List getQuestionsList() {
return questions_;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public java.util.List extends com.streamlayer.importer.QuestionSourceOrBuilder>
getQuestionsOrBuilderList() {
return questions_;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
@java.lang.Override
public int getQuestionsCount() {
return questions_.size();
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
@java.lang.Override
public com.streamlayer.importer.QuestionSource getQuestions(int index) {
return questions_.get(index);
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public com.streamlayer.importer.QuestionSourceOrBuilder getQuestionsOrBuilder(
int index) {
return questions_.get(index);
}
private void ensureQuestionsIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = questions_;
if (!tmp.isModifiable()) {
questions_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
private void setQuestions(
int index, com.streamlayer.importer.QuestionSource value) {
value.getClass();
ensureQuestionsIsMutable();
questions_.set(index, value);
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
private void addQuestions(com.streamlayer.importer.QuestionSource value) {
value.getClass();
ensureQuestionsIsMutable();
questions_.add(value);
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
private void addQuestions(
int index, com.streamlayer.importer.QuestionSource value) {
value.getClass();
ensureQuestionsIsMutable();
questions_.add(index, value);
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
private void addAllQuestions(
java.lang.Iterable extends com.streamlayer.importer.QuestionSource> values) {
ensureQuestionsIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, questions_);
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
private void clearQuestions() {
questions_ = emptyProtobufList();
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
private void removeQuestions(int index) {
ensureQuestionsIsMutable();
questions_.remove(index);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data, extensionRegistry);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.importer.CsvImportParseResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.importer.CsvImportParseResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.importer.CsvImportParseResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input, extensionRegistry);
}
public static Builder newBuilder() {
return (Builder) DEFAULT_INSTANCE.createBuilder();
}
public static Builder newBuilder(com.streamlayer.importer.CsvImportParseResult prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.importer.CsvImportParseResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.importer.CsvImportParseResult, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.importer.CsvImportParseResult)
com.streamlayer.importer.CsvImportParseResultOrBuilder {
// Construct using com.streamlayer.importer.CsvImportParseResult.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* uint32 total = 1 [json_name = "total"];
* @return The total.
*/
@java.lang.Override
public int getTotal() {
return instance.getTotal();
}
/**
* uint32 total = 1 [json_name = "total"];
* @param value The total to set.
* @return This builder for chaining.
*/
public Builder setTotal(int value) {
copyOnWrite();
instance.setTotal(value);
return this;
}
/**
* uint32 total = 1 [json_name = "total"];
* @return This builder for chaining.
*/
public Builder clearTotal() {
copyOnWrite();
instance.clearTotal();
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
@java.lang.Override
public java.util.List getInvalidRowsList() {
return java.util.Collections.unmodifiableList(
instance.getInvalidRowsList());
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
@java.lang.Override
public int getInvalidRowsCount() {
return instance.getInvalidRowsCount();
}/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
@java.lang.Override
public com.streamlayer.importer.CsvInvalidRow getInvalidRows(int index) {
return instance.getInvalidRows(index);
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder setInvalidRows(
int index, com.streamlayer.importer.CsvInvalidRow value) {
copyOnWrite();
instance.setInvalidRows(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder setInvalidRows(
int index, com.streamlayer.importer.CsvInvalidRow.Builder builderForValue) {
copyOnWrite();
instance.setInvalidRows(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder addInvalidRows(com.streamlayer.importer.CsvInvalidRow value) {
copyOnWrite();
instance.addInvalidRows(value);
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder addInvalidRows(
int index, com.streamlayer.importer.CsvInvalidRow value) {
copyOnWrite();
instance.addInvalidRows(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder addInvalidRows(
com.streamlayer.importer.CsvInvalidRow.Builder builderForValue) {
copyOnWrite();
instance.addInvalidRows(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder addInvalidRows(
int index, com.streamlayer.importer.CsvInvalidRow.Builder builderForValue) {
copyOnWrite();
instance.addInvalidRows(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder addAllInvalidRows(
java.lang.Iterable extends com.streamlayer.importer.CsvInvalidRow> values) {
copyOnWrite();
instance.addAllInvalidRows(values);
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder clearInvalidRows() {
copyOnWrite();
instance.clearInvalidRows();
return this;
}
/**
* repeated .streamlayer.interactive.importer.CsvInvalidRow invalid_rows = 2 [json_name = "invalidRows"];
*/
public Builder removeInvalidRows(int index) {
copyOnWrite();
instance.removeInvalidRows(index);
return this;
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @return A list containing the errors.
*/
@java.lang.Override
public java.util.List
getErrorsList() {
return java.util.Collections.unmodifiableList(
instance.getErrorsList());
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @return The count of errors.
*/
@java.lang.Override
public int getErrorsCount() {
return instance.getErrorsCount();
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param index The index of the element to return.
* @return The errors at the given index.
*/
@java.lang.Override
public java.lang.String getErrors(int index) {
return instance.getErrors(index);
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param index The index of the value to return.
* @return The bytes of the errors at the given index.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorsBytes(int index) {
return instance.getErrorsBytes(index);
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param index The index to set the value at.
* @param value The errors to set.
* @return This builder for chaining.
*/
public Builder setErrors(
int index, java.lang.String value) {
copyOnWrite();
instance.setErrors(index, value);
return this;
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param value The errors to add.
* @return This builder for chaining.
*/
public Builder addErrors(
java.lang.String value) {
copyOnWrite();
instance.addErrors(value);
return this;
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param values The errors to add.
* @return This builder for chaining.
*/
public Builder addAllErrors(
java.lang.Iterable values) {
copyOnWrite();
instance.addAllErrors(values);
return this;
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @return This builder for chaining.
*/
public Builder clearErrors() {
copyOnWrite();
instance.clearErrors();
return this;
}
/**
* repeated string errors = 3 [json_name = "errors"];
* @param value The bytes of the errors to add.
* @return This builder for chaining.
*/
public Builder addErrorsBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.addErrorsBytes(value);
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
@java.lang.Override
public java.util.List getQuestionsList() {
return java.util.Collections.unmodifiableList(
instance.getQuestionsList());
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
@java.lang.Override
public int getQuestionsCount() {
return instance.getQuestionsCount();
}/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
@java.lang.Override
public com.streamlayer.importer.QuestionSource getQuestions(int index) {
return instance.getQuestions(index);
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder setQuestions(
int index, com.streamlayer.importer.QuestionSource value) {
copyOnWrite();
instance.setQuestions(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder setQuestions(
int index, com.streamlayer.importer.QuestionSource.Builder builderForValue) {
copyOnWrite();
instance.setQuestions(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder addQuestions(com.streamlayer.importer.QuestionSource value) {
copyOnWrite();
instance.addQuestions(value);
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder addQuestions(
int index, com.streamlayer.importer.QuestionSource value) {
copyOnWrite();
instance.addQuestions(index, value);
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder addQuestions(
com.streamlayer.importer.QuestionSource.Builder builderForValue) {
copyOnWrite();
instance.addQuestions(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder addQuestions(
int index, com.streamlayer.importer.QuestionSource.Builder builderForValue) {
copyOnWrite();
instance.addQuestions(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder addAllQuestions(
java.lang.Iterable extends com.streamlayer.importer.QuestionSource> values) {
copyOnWrite();
instance.addAllQuestions(values);
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder clearQuestions() {
copyOnWrite();
instance.clearQuestions();
return this;
}
/**
* repeated .streamlayer.interactive.importer.QuestionSource questions = 4 [json_name = "questions"];
*/
public Builder removeQuestions(int index) {
copyOnWrite();
instance.removeQuestions(index);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.importer.CsvImportParseResult)
}
@java.lang.Override
@java.lang.SuppressWarnings({"unchecked", "fallthrough"})
protected final java.lang.Object dynamicMethod(
com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
java.lang.Object arg0, java.lang.Object arg1) {
switch (method) {
case NEW_MUTABLE_INSTANCE: {
return new com.streamlayer.importer.CsvImportParseResult();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"total_",
"invalidRows_",
com.streamlayer.importer.CsvInvalidRow.class,
"errors_",
"questions_",
com.streamlayer.importer.QuestionSource.class,
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0003\u0000\u0001\u000b\u0002\u001b" +
"\u0003\u021a\u0004\u001b";
return newMessageInfo(DEFAULT_INSTANCE, info, objects);
}
// fall through
case GET_DEFAULT_INSTANCE: {
return DEFAULT_INSTANCE;
}
case GET_PARSER: {
com.google.protobuf.Parser parser = PARSER;
if (parser == null) {
synchronized (com.streamlayer.importer.CsvImportParseResult.class) {
parser = PARSER;
if (parser == null) {
parser =
new DefaultInstanceBasedParser(
DEFAULT_INSTANCE);
PARSER = parser;
}
}
}
return parser;
}
case GET_MEMOIZED_IS_INITIALIZED: {
return (byte) 1;
}
case SET_MEMOIZED_IS_INITIALIZED: {
return null;
}
}
throw new UnsupportedOperationException();
}
// @@protoc_insertion_point(class_scope:streamlayer.interactive.importer.CsvImportParseResult)
private static final com.streamlayer.importer.CsvImportParseResult DEFAULT_INSTANCE;
static {
CsvImportParseResult defaultInstance = new CsvImportParseResult();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
CsvImportParseResult.class, defaultInstance);
}
public static com.streamlayer.importer.CsvImportParseResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}