Package com.streamlayer.sports.events
Class LastGamesResponse.ResponseData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<LastGamesResponse.ResponseData,LastGamesResponse.ResponseData.Builder>
-
- com.streamlayer.sports.events.LastGamesResponse.ResponseData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,LastGamesResponse.ResponseDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- LastGamesResponse.ResponseData
public static final class LastGamesResponse.ResponseData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<LastGamesResponse.ResponseData,LastGamesResponse.ResponseData.Builder> implements LastGamesResponse.ResponseDataOrBuilder
Protobuf typestreamlayer.sports.events.LastGamesResponse.ResponseData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LastGamesResponse.ResponseData.BuilderclearAttributes().streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];LastGamesResponse.ResponseData.BuilderclearId()uint64 id = 1 [json_name = "id"];LastGamesResponse.ResponseData.BuilderclearType().streamlayer.sports.events.EventType type = 2 [json_name = "type"];LastGamesResponse.ResponseData.LastGamesResponseAttributesgetAttributes().streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];longgetId()uint64 id = 1 [json_name = "id"];EventTypegetType().streamlayer.sports.events.EventType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.sports.events.EventType type = 2 [json_name = "type"];booleanhasAttributes().streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];LastGamesResponse.ResponseData.BuildermergeAttributes(LastGamesResponse.ResponseData.LastGamesResponseAttributes value).streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];LastGamesResponse.ResponseData.BuildersetAttributes(LastGamesResponse.ResponseData.LastGamesResponseAttributes value).streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];LastGamesResponse.ResponseData.BuildersetAttributes(LastGamesResponse.ResponseData.LastGamesResponseAttributes.Builder builderForValue).streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];LastGamesResponse.ResponseData.BuildersetId(long value)uint64 id = 1 [json_name = "id"];LastGamesResponse.ResponseData.BuildersetType(EventType value).streamlayer.sports.events.EventType type = 2 [json_name = "type"];LastGamesResponse.ResponseData.BuildersetTypeValue(int value).streamlayer.sports.events.EventType 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 long getId()
uint64 id = 1 [json_name = "id"];- Specified by:
getIdin interfaceLastGamesResponse.ResponseDataOrBuilder- Returns:
- The id.
-
setId
public LastGamesResponse.ResponseData.Builder setId(long value)
uint64 id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public LastGamesResponse.ResponseData.Builder clearId()
uint64 id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
.streamlayer.sports.events.EventType type = 2 [json_name = "type"];- Specified by:
getTypeValuein interfaceLastGamesResponse.ResponseDataOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public LastGamesResponse.ResponseData.Builder setTypeValue(int value)
.streamlayer.sports.events.EventType type = 2 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
getType
public EventType getType()
.streamlayer.sports.events.EventType type = 2 [json_name = "type"];- Specified by:
getTypein interfaceLastGamesResponse.ResponseDataOrBuilder- Returns:
- The type.
-
setType
public LastGamesResponse.ResponseData.Builder setType(EventType value)
.streamlayer.sports.events.EventType type = 2 [json_name = "type"];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
clearType
public LastGamesResponse.ResponseData.Builder clearType()
.streamlayer.sports.events.EventType type = 2 [json_name = "type"];- Returns:
- This builder for chaining.
-
hasAttributes
public boolean hasAttributes()
.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];- Specified by:
hasAttributesin interfaceLastGamesResponse.ResponseDataOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public LastGamesResponse.ResponseData.LastGamesResponseAttributes getAttributes()
.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesin interfaceLastGamesResponse.ResponseDataOrBuilder- Returns:
- The attributes.
-
setAttributes
public LastGamesResponse.ResponseData.Builder setAttributes(LastGamesResponse.ResponseData.LastGamesResponseAttributes value)
.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
-
setAttributes
public LastGamesResponse.ResponseData.Builder setAttributes(LastGamesResponse.ResponseData.LastGamesResponseAttributes.Builder builderForValue)
.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
-
mergeAttributes
public LastGamesResponse.ResponseData.Builder mergeAttributes(LastGamesResponse.ResponseData.LastGamesResponseAttributes value)
.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
-
clearAttributes
public LastGamesResponse.ResponseData.Builder clearAttributes()
.streamlayer.sports.events.LastGamesResponse.ResponseData.LastGamesResponseAttributes attributes = 3 [json_name = "attributes"];
-
-