Package com.streamlayer.sports.common
Class PlayerAttributes.Birth.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<PlayerAttributes.Birth,PlayerAttributes.Birth.Builder>
-
- com.streamlayer.sports.common.PlayerAttributes.Birth.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,PlayerAttributes.BirthOrBuilder,java.lang.Cloneable
- Enclosing class:
- PlayerAttributes.Birth
public static final class PlayerAttributes.Birth.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PlayerAttributes.Birth,PlayerAttributes.Birth.Builder> implements PlayerAttributes.BirthOrBuilder
Protobuf typestreamlayer.sports.PlayerAttributes.Birth
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlayerAttributes.Birth.BuilderclearCity()string city = 1 [json_name = "city"];PlayerAttributes.Birth.BuilderclearCountry().streamlayer.sports.Country country = 2 [json_name = "country"];java.lang.StringgetCity()string city = 1 [json_name = "city"];com.google.protobuf.ByteStringgetCityBytes()string city = 1 [json_name = "city"];CountrygetCountry().streamlayer.sports.Country country = 2 [json_name = "country"];booleanhasCountry().streamlayer.sports.Country country = 2 [json_name = "country"];PlayerAttributes.Birth.BuildermergeCountry(Country value).streamlayer.sports.Country country = 2 [json_name = "country"];PlayerAttributes.Birth.BuildersetCity(java.lang.String value)string city = 1 [json_name = "city"];PlayerAttributes.Birth.BuildersetCityBytes(com.google.protobuf.ByteString value)string city = 1 [json_name = "city"];PlayerAttributes.Birth.BuildersetCountry(Country value).streamlayer.sports.Country country = 2 [json_name = "country"];PlayerAttributes.Birth.BuildersetCountry(Country.Builder builderForValue).streamlayer.sports.Country country = 2 [json_name = "country"];-
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
-
getCity
public java.lang.String getCity()
string city = 1 [json_name = "city"];- Specified by:
getCityin interfacePlayerAttributes.BirthOrBuilder- Returns:
- The city.
-
getCityBytes
public com.google.protobuf.ByteString getCityBytes()
string city = 1 [json_name = "city"];- Specified by:
getCityBytesin interfacePlayerAttributes.BirthOrBuilder- Returns:
- The bytes for city.
-
setCity
public PlayerAttributes.Birth.Builder setCity(java.lang.String value)
string city = 1 [json_name = "city"];- Parameters:
value- The city to set.- Returns:
- This builder for chaining.
-
clearCity
public PlayerAttributes.Birth.Builder clearCity()
string city = 1 [json_name = "city"];- Returns:
- This builder for chaining.
-
setCityBytes
public PlayerAttributes.Birth.Builder setCityBytes(com.google.protobuf.ByteString value)
string city = 1 [json_name = "city"];- Parameters:
value- The bytes for city to set.- Returns:
- This builder for chaining.
-
hasCountry
public boolean hasCountry()
.streamlayer.sports.Country country = 2 [json_name = "country"];- Specified by:
hasCountryin interfacePlayerAttributes.BirthOrBuilder- Returns:
- Whether the country field is set.
-
getCountry
public Country getCountry()
.streamlayer.sports.Country country = 2 [json_name = "country"];- Specified by:
getCountryin interfacePlayerAttributes.BirthOrBuilder- Returns:
- The country.
-
setCountry
public PlayerAttributes.Birth.Builder setCountry(Country value)
.streamlayer.sports.Country country = 2 [json_name = "country"];
-
setCountry
public PlayerAttributes.Birth.Builder setCountry(Country.Builder builderForValue)
.streamlayer.sports.Country country = 2 [json_name = "country"];
-
mergeCountry
public PlayerAttributes.Birth.Builder mergeCountry(Country value)
.streamlayer.sports.Country country = 2 [json_name = "country"];
-
clearCountry
public PlayerAttributes.Birth.Builder clearCountry()
.streamlayer.sports.Country country = 2 [json_name = "country"];
-
-