Package com.streamlayer.interactive.feed
Class VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<VotingSubscriptionResponse.VotingSubscriptionResponseData,VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder>
-
- com.streamlayer.interactive.feed.VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,VotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- VotingSubscriptionResponse.VotingSubscriptionResponseData
public static final class VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<VotingSubscriptionResponse.VotingSubscriptionResponseData,VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder> implements VotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder
Protobuf typestreamlayer.interactive.feed.VotingSubscriptionResponse.VotingSubscriptionResponseData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAllAttributes(java.lang.Iterable<? extends AnswerVoteResult> values)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(int index, AnswerVoteResult value)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(int index, AnswerVoteResult.Builder builderForValue)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(AnswerVoteResult value)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(AnswerVoteResult.Builder builderForValue)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderclearAttributes()repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderclearQuestionId()string question_id = 1;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderclearType()string type = 2;AnswerVoteResultgetAttributes(int index)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;intgetAttributesCount()repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;java.util.List<AnswerVoteResult>getAttributesList()repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;java.lang.StringgetQuestionId()string question_id = 1;com.google.protobuf.ByteStringgetQuestionIdBytes()string question_id = 1;java.lang.StringgetType()string type = 2;com.google.protobuf.ByteStringgetTypeBytes()string type = 2;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderremoveAttributes(int index)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetAttributes(int index, AnswerVoteResult value)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetAttributes(int index, AnswerVoteResult.Builder builderForValue)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetQuestionId(java.lang.String value)string question_id = 1;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetQuestionIdBytes(com.google.protobuf.ByteString value)string question_id = 1;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetType(java.lang.String value)string type = 2;VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetTypeBytes(com.google.protobuf.ByteString value)string type = 2;-
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
-
getQuestionId
public java.lang.String getQuestionId()
string question_id = 1;- Specified by:
getQuestionIdin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The questionId.
-
getQuestionIdBytes
public com.google.protobuf.ByteString getQuestionIdBytes()
string question_id = 1;- Specified by:
getQuestionIdBytesin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The bytes for questionId.
-
setQuestionId
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setQuestionId(java.lang.String value)
string question_id = 1;- Parameters:
value- The questionId to set.- Returns:
- This builder for chaining.
-
clearQuestionId
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder clearQuestionId()
string question_id = 1;- Returns:
- This builder for chaining.
-
setQuestionIdBytes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setQuestionIdBytes(com.google.protobuf.ByteString value)
string question_id = 1;- Parameters:
value- The bytes for questionId to set.- Returns:
- This builder for chaining.
-
getType
public java.lang.String getType()
string type = 2;- Specified by:
getTypein interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2;- Specified by:
getTypeBytesin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The bytes for type.
-
setType
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setType(java.lang.String value)
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder clearType()
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getAttributesList
public java.util.List<AnswerVoteResult> getAttributesList()
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;- Specified by:
getAttributesListin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder
-
getAttributesCount
public int getAttributesCount()
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;- Specified by:
getAttributesCountin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder
-
getAttributes
public AnswerVoteResult getAttributes(int index)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;- Specified by:
getAttributesin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder
-
setAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setAttributes(int index, AnswerVoteResult value)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
setAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setAttributes(int index, AnswerVoteResult.Builder builderForValue)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(AnswerVoteResult value)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(int index, AnswerVoteResult value)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(AnswerVoteResult.Builder builderForValue)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(int index, AnswerVoteResult.Builder builderForValue)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
addAllAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAllAttributes(java.lang.Iterable<? extends AnswerVoteResult> values)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
clearAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder clearAttributes()
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
removeAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder removeAttributes(int index)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3;
-
-