Package com.streamlayer.interactive.feed
Class PromotionHistoryResponse.PromotionHistoryResponseData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<PromotionHistoryResponse.PromotionHistoryResponseData,PromotionHistoryResponse.PromotionHistoryResponseData.Builder>
-
- com.streamlayer.interactive.feed.PromotionHistoryResponse.PromotionHistoryResponseData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,PromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- PromotionHistoryResponse.PromotionHistoryResponseData
public static final class PromotionHistoryResponse.PromotionHistoryResponseData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PromotionHistoryResponse.PromotionHistoryResponseData,PromotionHistoryResponse.PromotionHistoryResponseData.Builder> implements PromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder
Protobuf typestreamlayer.interactive.feed.PromotionHistoryResponse.PromotionHistoryResponseData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PromotionHistoryResponse.PromotionHistoryResponseData.BuilderclearAttributes().streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];PromotionHistoryResponse.PromotionHistoryResponseData.BuilderclearId()string id = 1 [json_name = "id"];PromotionHistoryResponse.PromotionHistoryResponseData.BuilderclearType()string type = 2 [json_name = "type"];PromotionHistorygetAttributes().streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetType()string type = 2 [json_name = "type"];com.google.protobuf.ByteStringgetTypeBytes()string type = 2 [json_name = "type"];booleanhasAttributes().streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];PromotionHistoryResponse.PromotionHistoryResponseData.BuildermergeAttributes(PromotionHistory value).streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];PromotionHistoryResponse.PromotionHistoryResponseData.BuildersetAttributes(PromotionHistory value).streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];PromotionHistoryResponse.PromotionHistoryResponseData.BuildersetAttributes(PromotionHistory.Builder builderForValue).streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];PromotionHistoryResponse.PromotionHistoryResponseData.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];PromotionHistoryResponse.PromotionHistoryResponseData.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];PromotionHistoryResponse.PromotionHistoryResponseData.BuildersetType(java.lang.String value)string type = 2 [json_name = "type"];PromotionHistoryResponse.PromotionHistoryResponseData.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
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfacePromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfacePromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder- Returns:
- The bytes for id.
-
setId
public PromotionHistoryResponse.PromotionHistoryResponseData.Builder setId(java.lang.String value)
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public PromotionHistoryResponse.PromotionHistoryResponseData.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public PromotionHistoryResponse.PromotionHistoryResponseData.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getType
public java.lang.String getType()
string type = 2 [json_name = "type"];- Specified by:
getTypein interfacePromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2 [json_name = "type"];- Specified by:
getTypeBytesin interfacePromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder- Returns:
- The bytes for type.
-
setType
public PromotionHistoryResponse.PromotionHistoryResponseData.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 PromotionHistoryResponse.PromotionHistoryResponseData.Builder clearType()
string type = 2 [json_name = "type"];- Returns:
- This builder for chaining.
-
setTypeBytes
public PromotionHistoryResponse.PromotionHistoryResponseData.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.
-
hasAttributes
public boolean hasAttributes()
.streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];- Specified by:
hasAttributesin interfacePromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public PromotionHistory getAttributes()
.streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesin interfacePromotionHistoryResponse.PromotionHistoryResponseDataOrBuilder- Returns:
- The attributes.
-
setAttributes
public PromotionHistoryResponse.PromotionHistoryResponseData.Builder setAttributes(PromotionHistory value)
.streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];
-
setAttributes
public PromotionHistoryResponse.PromotionHistoryResponseData.Builder setAttributes(PromotionHistory.Builder builderForValue)
.streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];
-
mergeAttributes
public PromotionHistoryResponse.PromotionHistoryResponseData.Builder mergeAttributes(PromotionHistory value)
.streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];
-
clearAttributes
public PromotionHistoryResponse.PromotionHistoryResponseData.Builder clearAttributes()
.streamlayer.interactive.feed.PromotionHistory attributes = 3 [json_name = "attributes"];
-
-