main.java.com.streamlayer.interactive.feed.PickHistory 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/feed/interactive.feed.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.interactive.feed;
/**
* Protobuf type {@code streamlayer.interactive.feed.PickHistory}
*/
public final class PickHistory extends
com.google.protobuf.GeneratedMessageLite<
PickHistory, PickHistory.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.interactive.feed.PickHistory)
PickHistoryOrBuilder {
private PickHistory() {
questionId_ = "";
answerId_ = "";
subject_ = "";
text_ = "";
}
public static final int QUESTION_ID_FIELD_NUMBER = 1;
private java.lang.String questionId_;
/**
* string question_id = 1 [json_name = "questionId"];
* @return The questionId.
*/
@java.lang.Override
public java.lang.String getQuestionId() {
return questionId_;
}
/**
* string question_id = 1 [json_name = "questionId"];
* @return The bytes for questionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQuestionIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(questionId_);
}
/**
* string question_id = 1 [json_name = "questionId"];
* @param value The questionId to set.
*/
private void setQuestionId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
questionId_ = value;
}
/**
* string question_id = 1 [json_name = "questionId"];
*/
private void clearQuestionId() {
questionId_ = getDefaultInstance().getQuestionId();
}
/**
* string question_id = 1 [json_name = "questionId"];
* @param value The bytes for questionId to set.
*/
private void setQuestionIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
questionId_ = value.toStringUtf8();
}
public static final int ANSWER_ID_FIELD_NUMBER = 2;
private java.lang.String answerId_;
/**
* string answer_id = 2 [json_name = "answerId"];
* @return The answerId.
*/
@java.lang.Override
public java.lang.String getAnswerId() {
return answerId_;
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @return The bytes for answerId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAnswerIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(answerId_);
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @param value The answerId to set.
*/
private void setAnswerId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
answerId_ = value;
}
/**
* string answer_id = 2 [json_name = "answerId"];
*/
private void clearAnswerId() {
answerId_ = getDefaultInstance().getAnswerId();
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @param value The bytes for answerId to set.
*/
private void setAnswerIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
answerId_ = value.toStringUtf8();
}
public static final int STATUS_FIELD_NUMBER = 3;
private int status_;
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return status_;
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @return The status.
*/
@java.lang.Override
public com.streamlayer.interactive.feed.PickHistoryStatus getStatus() {
com.streamlayer.interactive.feed.PickHistoryStatus result = com.streamlayer.interactive.feed.PickHistoryStatus.forNumber(status_);
return result == null ? com.streamlayer.interactive.feed.PickHistoryStatus.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @param value The enum numeric value on the wire for status to set.
*/
private void setStatusValue(int value) {
status_ = value;
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @param value The status to set.
*/
private void setStatus(com.streamlayer.interactive.feed.PickHistoryStatus value) {
status_ = value.getNumber();
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
*/
private void clearStatus() {
status_ = 0;
}
public static final int QUESTION_TYPE_FIELD_NUMBER = 4;
private int questionType_;
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @return The enum numeric value on the wire for questionType.
*/
@java.lang.Override
public int getQuestionTypeValue() {
return questionType_;
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @return The questionType.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionType getQuestionType() {
com.streamlayer.interactive.common.QuestionType result = com.streamlayer.interactive.common.QuestionType.forNumber(questionType_);
return result == null ? com.streamlayer.interactive.common.QuestionType.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @param value The enum numeric value on the wire for questionType to set.
*/
private void setQuestionTypeValue(int value) {
questionType_ = value;
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @param value The questionType to set.
*/
private void setQuestionType(com.streamlayer.interactive.common.QuestionType value) {
questionType_ = value.getNumber();
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
*/
private void clearQuestionType() {
questionType_ = 0;
}
public static final int SUBJECT_FIELD_NUMBER = 5;
private java.lang.String subject_;
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @return The subject.
*/
@java.lang.Override
public java.lang.String getSubject() {
return subject_;
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @return The bytes for subject.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubjectBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(subject_);
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @param value The subject to set.
*/
private void setSubject(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
subject_ = value;
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
*/
private void clearSubject() {
subject_ = getDefaultInstance().getSubject();
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @param value The bytes for subject to set.
*/
private void setSubjectBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
subject_ = value.toStringUtf8();
}
public static final int TEXT_FIELD_NUMBER = 6;
private java.lang.String text_;
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
return text_;
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(text_);
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @param value The text to set.
*/
private void setText(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
text_ = value;
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
*/
private void clearText() {
text_ = getDefaultInstance().getText();
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @param value The bytes for text to set.
*/
private void setTextBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
text_ = value.toStringUtf8();
}
public static final int OPEN_FOR_VOTING_FIELD_NUMBER = 7;
private boolean openForVoting_;
/**
* bool open_for_voting = 7 [json_name = "openForVoting"];
* @return The openForVoting.
*/
@java.lang.Override
public boolean getOpenForVoting() {
return openForVoting_;
}
/**
* bool open_for_voting = 7 [json_name = "openForVoting"];
* @param value The openForVoting to set.
*/
private void setOpenForVoting(boolean value) {
openForVoting_ = value;
}
/**
* bool open_for_voting = 7 [json_name = "openForVoting"];
*/
private void clearOpenForVoting() {
openForVoting_ = false;
}
public static final int QUESTION_STATUS_FIELD_NUMBER = 8;
private int questionStatus_;
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @return The enum numeric value on the wire for questionStatus.
*/
@java.lang.Override
public int getQuestionStatusValue() {
return questionStatus_;
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @return The questionStatus.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionStatus getQuestionStatus() {
com.streamlayer.interactive.common.QuestionStatus result = com.streamlayer.interactive.common.QuestionStatus.forNumber(questionStatus_);
return result == null ? com.streamlayer.interactive.common.QuestionStatus.UNRECOGNIZED : result;
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @param value The enum numeric value on the wire for questionStatus to set.
*/
private void setQuestionStatusValue(int value) {
questionStatus_ = value;
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @param value The questionStatus to set.
*/
private void setQuestionStatus(com.streamlayer.interactive.common.QuestionStatus value) {
questionStatus_ = value.getNumber();
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
*/
private void clearQuestionStatus() {
questionStatus_ = 0;
}
public static com.streamlayer.interactive.feed.PickHistory parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.feed.PickHistory 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.interactive.feed.PickHistory parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.feed.PickHistory 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.interactive.feed.PickHistory parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.interactive.feed.PickHistory 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.interactive.feed.PickHistory parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.feed.PickHistory 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.interactive.feed.PickHistory parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.feed.PickHistory parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.interactive.feed.PickHistory parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.interactive.feed.PickHistory 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.interactive.feed.PickHistory prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.interactive.feed.PickHistory}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.interactive.feed.PickHistory, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.interactive.feed.PickHistory)
com.streamlayer.interactive.feed.PickHistoryOrBuilder {
// Construct using com.streamlayer.interactive.feed.PickHistory.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string question_id = 1 [json_name = "questionId"];
* @return The questionId.
*/
@java.lang.Override
public java.lang.String getQuestionId() {
return instance.getQuestionId();
}
/**
* string question_id = 1 [json_name = "questionId"];
* @return The bytes for questionId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getQuestionIdBytes() {
return instance.getQuestionIdBytes();
}
/**
* string question_id = 1 [json_name = "questionId"];
* @param value The questionId to set.
* @return This builder for chaining.
*/
public Builder setQuestionId(
java.lang.String value) {
copyOnWrite();
instance.setQuestionId(value);
return this;
}
/**
* string question_id = 1 [json_name = "questionId"];
* @return This builder for chaining.
*/
public Builder clearQuestionId() {
copyOnWrite();
instance.clearQuestionId();
return this;
}
/**
* string question_id = 1 [json_name = "questionId"];
* @param value The bytes for questionId to set.
* @return This builder for chaining.
*/
public Builder setQuestionIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setQuestionIdBytes(value);
return this;
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @return The answerId.
*/
@java.lang.Override
public java.lang.String getAnswerId() {
return instance.getAnswerId();
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @return The bytes for answerId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAnswerIdBytes() {
return instance.getAnswerIdBytes();
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @param value The answerId to set.
* @return This builder for chaining.
*/
public Builder setAnswerId(
java.lang.String value) {
copyOnWrite();
instance.setAnswerId(value);
return this;
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @return This builder for chaining.
*/
public Builder clearAnswerId() {
copyOnWrite();
instance.clearAnswerId();
return this;
}
/**
* string answer_id = 2 [json_name = "answerId"];
* @param value The bytes for answerId to set.
* @return This builder for chaining.
*/
public Builder setAnswerIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setAnswerIdBytes(value);
return this;
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override
public int getStatusValue() {
return instance.getStatusValue();
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
copyOnWrite();
instance.setStatusValue(value);
return this;
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @return The status.
*/
@java.lang.Override
public com.streamlayer.interactive.feed.PickHistoryStatus getStatus() {
return instance.getStatus();
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.streamlayer.interactive.feed.PickHistoryStatus value) {
copyOnWrite();
instance.setStatus(value);
return this;
}
/**
* .streamlayer.interactive.feed.PickHistoryStatus status = 3 [json_name = "status"];
* @return This builder for chaining.
*/
public Builder clearStatus() {
copyOnWrite();
instance.clearStatus();
return this;
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @return The enum numeric value on the wire for questionType.
*/
@java.lang.Override
public int getQuestionTypeValue() {
return instance.getQuestionTypeValue();
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @param value The questionType to set.
* @return This builder for chaining.
*/
public Builder setQuestionTypeValue(int value) {
copyOnWrite();
instance.setQuestionTypeValue(value);
return this;
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @return The questionType.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionType getQuestionType() {
return instance.getQuestionType();
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @param value The enum numeric value on the wire for questionType to set.
* @return This builder for chaining.
*/
public Builder setQuestionType(com.streamlayer.interactive.common.QuestionType value) {
copyOnWrite();
instance.setQuestionType(value);
return this;
}
/**
* .streamlayer.interactive.QuestionType question_type = 4 [json_name = "questionType"];
* @return This builder for chaining.
*/
public Builder clearQuestionType() {
copyOnWrite();
instance.clearQuestionType();
return this;
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @return The subject.
*/
@java.lang.Override
public java.lang.String getSubject() {
return instance.getSubject();
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @return The bytes for subject.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubjectBytes() {
return instance.getSubjectBytes();
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @param value The subject to set.
* @return This builder for chaining.
*/
public Builder setSubject(
java.lang.String value) {
copyOnWrite();
instance.setSubject(value);
return this;
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @return This builder for chaining.
*/
public Builder clearSubject() {
copyOnWrite();
instance.clearSubject();
return this;
}
/**
*
* question text
*
*
* string subject = 5 [json_name = "subject"];
* @param value The bytes for subject to set.
* @return This builder for chaining.
*/
public Builder setSubjectBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSubjectBytes(value);
return this;
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @return The text.
*/
@java.lang.Override
public java.lang.String getText() {
return instance.getText();
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @return The bytes for text.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTextBytes() {
return instance.getTextBytes();
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @param value The text to set.
* @return This builder for chaining.
*/
public Builder setText(
java.lang.String value) {
copyOnWrite();
instance.setText(value);
return this;
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @return This builder for chaining.
*/
public Builder clearText() {
copyOnWrite();
instance.clearText();
return this;
}
/**
*
* answer text
*
*
* string text = 6 [json_name = "text"];
* @param value The bytes for text to set.
* @return This builder for chaining.
*/
public Builder setTextBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTextBytes(value);
return this;
}
/**
* bool open_for_voting = 7 [json_name = "openForVoting"];
* @return The openForVoting.
*/
@java.lang.Override
public boolean getOpenForVoting() {
return instance.getOpenForVoting();
}
/**
* bool open_for_voting = 7 [json_name = "openForVoting"];
* @param value The openForVoting to set.
* @return This builder for chaining.
*/
public Builder setOpenForVoting(boolean value) {
copyOnWrite();
instance.setOpenForVoting(value);
return this;
}
/**
* bool open_for_voting = 7 [json_name = "openForVoting"];
* @return This builder for chaining.
*/
public Builder clearOpenForVoting() {
copyOnWrite();
instance.clearOpenForVoting();
return this;
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @return The enum numeric value on the wire for questionStatus.
*/
@java.lang.Override
public int getQuestionStatusValue() {
return instance.getQuestionStatusValue();
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @param value The questionStatus to set.
* @return This builder for chaining.
*/
public Builder setQuestionStatusValue(int value) {
copyOnWrite();
instance.setQuestionStatusValue(value);
return this;
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @return The questionStatus.
*/
@java.lang.Override
public com.streamlayer.interactive.common.QuestionStatus getQuestionStatus() {
return instance.getQuestionStatus();
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @param value The enum numeric value on the wire for questionStatus to set.
* @return This builder for chaining.
*/
public Builder setQuestionStatus(com.streamlayer.interactive.common.QuestionStatus value) {
copyOnWrite();
instance.setQuestionStatus(value);
return this;
}
/**
* .streamlayer.interactive.QuestionStatus question_status = 8 [json_name = "questionStatus"];
* @return This builder for chaining.
*/
public Builder clearQuestionStatus() {
copyOnWrite();
instance.clearQuestionStatus();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.interactive.feed.PickHistory)
}
@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.interactive.feed.PickHistory();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"questionId_",
"answerId_",
"status_",
"questionType_",
"subject_",
"text_",
"openForVoting_",
"questionStatus_",
};
java.lang.String info =
"\u0000\b\u0000\u0000\u0001\b\b\u0000\u0000\u0000\u0001\u0208\u0002\u0208\u0003\f" +
"\u0004\f\u0005\u0208\u0006\u0208\u0007\u0007\b\f";
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.interactive.feed.PickHistory.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.feed.PickHistory)
private static final com.streamlayer.interactive.feed.PickHistory DEFAULT_INSTANCE;
static {
PickHistory defaultInstance = new PickHistory();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
PickHistory.class, defaultInstance);
}
public static com.streamlayer.interactive.feed.PickHistory getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}