Package com.streamlayer.inplay
Class Sport.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Sport,Sport.Builder>
-
- com.streamlayer.inplay.Sport.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SportOrBuilder,java.lang.Cloneable
- Enclosing class:
- Sport
public static final class Sport.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Sport,Sport.Builder> implements SportOrBuilder
Protobuf typestreamlayer.inplay.Sport
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Sport.BuilderaddAllCountries(java.lang.Iterable<? extends Country> values)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuilderaddCountries(int index, Country value)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuilderaddCountries(int index, Country.Builder builderForValue)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuilderaddCountries(Country value)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuilderaddCountries(Country.Builder builderForValue)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuilderclearCountries()repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuilderclearId()uint64 id = 3 [json_name = "id"];Sport.BuilderclearName()string name = 1 [json_name = "name"];CountrygetCountries(int index)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];intgetCountriesCount()repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];java.util.List<Country>getCountriesList()repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];longgetId()uint64 id = 3 [json_name = "id"];java.lang.StringgetName()string name = 1 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()string name = 1 [json_name = "name"];Sport.BuilderremoveCountries(int index)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuildersetCountries(int index, Country value)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuildersetCountries(int index, Country.Builder builderForValue)repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];Sport.BuildersetId(long value)uint64 id = 3 [json_name = "id"];Sport.BuildersetName(java.lang.String value)string name = 1 [json_name = "name"];Sport.BuildersetNameBytes(com.google.protobuf.ByteString value)string name = 1 [json_name = "name"];-
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
-
getName
public java.lang.String getName()
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceSportOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceSportOrBuilder- Returns:
- The bytes for name.
-
setName
public Sport.Builder setName(java.lang.String value)
string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Sport.Builder clearName()
string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
public Sport.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getCountriesList
public java.util.List<Country> getCountriesList()
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];- Specified by:
getCountriesListin interfaceSportOrBuilder
-
getCountriesCount
public int getCountriesCount()
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];- Specified by:
getCountriesCountin interfaceSportOrBuilder
-
getCountries
public Country getCountries(int index)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];- Specified by:
getCountriesin interfaceSportOrBuilder
-
setCountries
public Sport.Builder setCountries(int index, Country value)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
setCountries
public Sport.Builder setCountries(int index, Country.Builder builderForValue)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
addCountries
public Sport.Builder addCountries(Country value)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
addCountries
public Sport.Builder addCountries(int index, Country value)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
addCountries
public Sport.Builder addCountries(Country.Builder builderForValue)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
addCountries
public Sport.Builder addCountries(int index, Country.Builder builderForValue)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
addAllCountries
public Sport.Builder addAllCountries(java.lang.Iterable<? extends Country> values)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
clearCountries
public Sport.Builder clearCountries()
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
removeCountries
public Sport.Builder removeCountries(int index)
repeated .streamlayer.inplay.Country countries = 2 [json_name = "countries"];
-
getId
public long getId()
uint64 id = 3 [json_name = "id"];- Specified by:
getIdin interfaceSportOrBuilder- Returns:
- The id.
-
setId
public Sport.Builder setId(long value)
uint64 id = 3 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Sport.Builder clearId()
uint64 id = 3 [json_name = "id"];- Returns:
- This builder for chaining.
-
-