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