Package com.streamlayer.sports.common
Interface PlayerOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Player,Player.Builder
public interface PlayerOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PlayerAttributesgetAttributes().streamlayer.sports.PlayerAttributes attributes = 13;java.lang.StringgetBirthDate()string birth_date = 11;com.google.protobuf.ByteStringgetBirthDateBytes()string birth_date = 11;java.lang.StringgetCustomFields()string custom_fields = 8;com.google.protobuf.ByteStringgetCustomFieldsBytes()string custom_fields = 8;java.lang.StringgetDisplayName()string display_name = 14;com.google.protobuf.ByteStringgetDisplayNameBytes()string display_name = 14;java.lang.StringgetFirstName()string first_name = 9;com.google.protobuf.ByteStringgetFirstNameBytes()string first_name = 9;longgetId()uint64 id = 1;java.lang.StringgetLastName()string last_name = 10;com.google.protobuf.ByteStringgetLastNameBytes()string last_name = 10;CountrygetNationality().streamlayer.sports.Country nationality = 12;PlayerTeamgetTeams(int index)repeated .streamlayer.sports.PlayerTeam teams = 15;intgetTeamsCount()repeated .streamlayer.sports.PlayerTeam teams = 15;java.util.List<PlayerTeam>getTeamsList()repeated .streamlayer.sports.PlayerTeam teams = 15;booleanhasAttributes().streamlayer.sports.PlayerAttributes attributes = 13;booleanhasNationality().streamlayer.sports.Country nationality = 12;
-
-
-
Method Detail
-
getId
long getId()
uint64 id = 1;- Returns:
- The id.
-
getCustomFields
java.lang.String getCustomFields()
string custom_fields = 8;- Returns:
- The customFields.
-
getCustomFieldsBytes
com.google.protobuf.ByteString getCustomFieldsBytes()
string custom_fields = 8;- Returns:
- The bytes for customFields.
-
getFirstName
java.lang.String getFirstName()
string first_name = 9;- Returns:
- The firstName.
-
getFirstNameBytes
com.google.protobuf.ByteString getFirstNameBytes()
string first_name = 9;- Returns:
- The bytes for firstName.
-
getLastName
java.lang.String getLastName()
string last_name = 10;- Returns:
- The lastName.
-
getLastNameBytes
com.google.protobuf.ByteString getLastNameBytes()
string last_name = 10;- Returns:
- The bytes for lastName.
-
getDisplayName
java.lang.String getDisplayName()
string display_name = 14;- Returns:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.ByteString getDisplayNameBytes()
string display_name = 14;- Returns:
- The bytes for displayName.
-
getBirthDate
java.lang.String getBirthDate()
string birth_date = 11;- Returns:
- The birthDate.
-
getBirthDateBytes
com.google.protobuf.ByteString getBirthDateBytes()
string birth_date = 11;- Returns:
- The bytes for birthDate.
-
hasNationality
boolean hasNationality()
.streamlayer.sports.Country nationality = 12;- Returns:
- Whether the nationality field is set.
-
getNationality
Country getNationality()
.streamlayer.sports.Country nationality = 12;- Returns:
- The nationality.
-
hasAttributes
boolean hasAttributes()
.streamlayer.sports.PlayerAttributes attributes = 13;- Returns:
- Whether the attributes field is set.
-
getAttributes
PlayerAttributes getAttributes()
.streamlayer.sports.PlayerAttributes attributes = 13;- Returns:
- The attributes.
-
getTeamsList
java.util.List<PlayerTeam> getTeamsList()
repeated .streamlayer.sports.PlayerTeam teams = 15;
-
getTeams
PlayerTeam getTeams(int index)
repeated .streamlayer.sports.PlayerTeam teams = 15;
-
getTeamsCount
int getTeamsCount()
repeated .streamlayer.sports.PlayerTeam teams = 15;
-
-