Package com.streamlayer.sports.studio
Class SportListResponse.ListData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<SportListResponse.ListData,SportListResponse.ListData.Builder>
-
- com.streamlayer.sports.studio.SportListResponse.ListData.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SportListResponse.ListDataOrBuilder,java.lang.Cloneable
- Enclosing class:
- SportListResponse.ListData
public static final class SportListResponse.ListData.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<SportListResponse.ListData,SportListResponse.ListData.Builder> implements SportListResponse.ListDataOrBuilder
Protobuf typestreamlayer.sports.studio.SportListResponse.ListData
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SportListResponse.ListData.BuilderclearAttributes().streamlayer.sports.Sport attributes = 3;SportListResponse.ListData.BuilderclearId()uint64 id = 1;SportListResponse.ListData.BuilderclearType()string type = 2;SportgetAttributes().streamlayer.sports.Sport attributes = 3;longgetId()uint64 id = 1;java.lang.StringgetType()string type = 2;com.google.protobuf.ByteStringgetTypeBytes()string type = 2;booleanhasAttributes().streamlayer.sports.Sport attributes = 3;SportListResponse.ListData.BuildermergeAttributes(Sport value).streamlayer.sports.Sport attributes = 3;SportListResponse.ListData.BuildersetAttributes(Sport value).streamlayer.sports.Sport attributes = 3;SportListResponse.ListData.BuildersetAttributes(Sport.Builder builderForValue).streamlayer.sports.Sport attributes = 3;SportListResponse.ListData.BuildersetId(long value)uint64 id = 1;SportListResponse.ListData.BuildersetType(java.lang.String value)string type = 2;SportListResponse.ListData.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
-
getId
public long getId()
uint64 id = 1;- Specified by:
getIdin interfaceSportListResponse.ListDataOrBuilder- Returns:
- The id.
-
setId
public SportListResponse.ListData.Builder setId(long value)
uint64 id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public SportListResponse.ListData.Builder clearId()
uint64 id = 1;- Returns:
- This builder for chaining.
-
getType
public java.lang.String getType()
string type = 2;- Specified by:
getTypein interfaceSportListResponse.ListDataOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2;- Specified by:
getTypeBytesin interfaceSportListResponse.ListDataOrBuilder- Returns:
- The bytes for type.
-
setType
public SportListResponse.ListData.Builder setType(java.lang.String value)
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public SportListResponse.ListData.Builder clearType()
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
public SportListResponse.ListData.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
hasAttributes
public boolean hasAttributes()
.streamlayer.sports.Sport attributes = 3;- Specified by:
hasAttributesin interfaceSportListResponse.ListDataOrBuilder- Returns:
- Whether the attributes field is set.
-
getAttributes
public Sport getAttributes()
.streamlayer.sports.Sport attributes = 3;- Specified by:
getAttributesin interfaceSportListResponse.ListDataOrBuilder- Returns:
- The attributes.
-
setAttributes
public SportListResponse.ListData.Builder setAttributes(Sport value)
.streamlayer.sports.Sport attributes = 3;
-
setAttributes
public SportListResponse.ListData.Builder setAttributes(Sport.Builder builderForValue)
.streamlayer.sports.Sport attributes = 3;
-
mergeAttributes
public SportListResponse.ListData.Builder mergeAttributes(Sport value)
.streamlayer.sports.Sport attributes = 3;
-
clearAttributes
public SportListResponse.ListData.Builder clearAttributes()
.streamlayer.sports.Sport attributes = 3;
-
-