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 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(int index, AnswerVoteResult value)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(int index, AnswerVoteResult.Builder builderForValue)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(AnswerVoteResult value)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderaddAttributes(AnswerVoteResult.Builder builderForValue)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderclearAttributes()repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderclearQuestionId()string question_id = 1 [json_name = "questionId"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderclearType()string type = 2 [json_name = "type"];AnswerVoteResultgetAttributes(int index)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];intgetAttributesCount()repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];java.util.List<AnswerVoteResult>getAttributesList()repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];java.lang.StringgetQuestionId()string question_id = 1 [json_name = "questionId"];com.google.protobuf.ByteStringgetQuestionIdBytes()string question_id = 1 [json_name = "questionId"];java.lang.StringgetType()string type = 2 [json_name = "type"];com.google.protobuf.ByteStringgetTypeBytes()string type = 2 [json_name = "type"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuilderremoveAttributes(int index)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetAttributes(int index, AnswerVoteResult value)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetAttributes(int index, AnswerVoteResult.Builder builderForValue)repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetQuestionId(java.lang.String value)string question_id = 1 [json_name = "questionId"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetQuestionIdBytes(com.google.protobuf.ByteString value)string question_id = 1 [json_name = "questionId"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetType(java.lang.String value)string type = 2 [json_name = "type"];VotingSubscriptionResponse.VotingSubscriptionResponseData.BuildersetTypeBytes(com.google.protobuf.ByteString value)string type = 2 [json_name = "type"];-
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 [json_name = "questionId"];- Specified by:
getQuestionIdin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The questionId.
-
getQuestionIdBytes
public com.google.protobuf.ByteString getQuestionIdBytes()
string question_id = 1 [json_name = "questionId"];- Specified by:
getQuestionIdBytesin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The bytes for questionId.
-
setQuestionId
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setQuestionId(java.lang.String value)
string question_id = 1 [json_name = "questionId"];- Parameters:
value- The questionId to set.- Returns:
- This builder for chaining.
-
clearQuestionId
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder clearQuestionId()
string question_id = 1 [json_name = "questionId"];- Returns:
- This builder for chaining.
-
setQuestionIdBytes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setQuestionIdBytes(com.google.protobuf.ByteString value)
string question_id = 1 [json_name = "questionId"];- Parameters:
value- The bytes for questionId to set.- Returns:
- This builder for chaining.
-
getType
public java.lang.String getType()
string type = 2 [json_name = "type"];- Specified by:
getTypein interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2 [json_name = "type"];- Specified by:
getTypeBytesin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder- Returns:
- The bytes for type.
-
setType
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setType(java.lang.String value)
string type = 2 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder clearType()
string type = 2 [json_name = "type"];- Returns:
- This builder for chaining.
-
setTypeBytes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 2 [json_name = "type"];- 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 [json_name = "attributes"];- Specified by:
getAttributesListin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder
-
getAttributesCount
public int getAttributesCount()
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesCountin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder
-
getAttributes
public AnswerVoteResult getAttributes(int index)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesin interfaceVotingSubscriptionResponse.VotingSubscriptionResponseDataOrBuilder
-
setAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setAttributes(int index, AnswerVoteResult value)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
setAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder setAttributes(int index, AnswerVoteResult.Builder builderForValue)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(AnswerVoteResult value)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(int index, AnswerVoteResult value)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(AnswerVoteResult.Builder builderForValue)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
addAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAttributes(int index, AnswerVoteResult.Builder builderForValue)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
addAllAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder addAllAttributes(java.lang.Iterable<? extends AnswerVoteResult> values)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
clearAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder clearAttributes()
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
removeAttributes
public VotingSubscriptionResponse.VotingSubscriptionResponseData.Builder removeAttributes(int index)
repeated .streamlayer.interactive.feed.AnswerVoteResult attributes = 3 [json_name = "attributes"];
-
-