Package com.streamlayer.sports.soccer
Class TeamStanding.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<TeamStanding,TeamStanding.Builder>
-
- com.streamlayer.sports.soccer.TeamStanding.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TeamStandingOrBuilder,java.lang.Cloneable
- Enclosing class:
- TeamStanding
public static final class TeamStanding.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<TeamStanding,TeamStanding.Builder> implements TeamStandingOrBuilder
Protobuf typestreamlayer.sports.soccer.TeamStanding
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TeamStanding.BuilderaddAllColors(java.lang.Iterable<java.lang.String> values)repeated string colors = 5 [json_name = "colors"];TeamStanding.BuilderaddColors(java.lang.String value)repeated string colors = 5 [json_name = "colors"];TeamStanding.BuilderaddColorsBytes(com.google.protobuf.ByteString value)repeated string colors = 5 [json_name = "colors"];TeamStanding.BuilderclearAlias()string alias = 3 [json_name = "alias"];TeamStanding.BuilderclearColors()repeated string colors = 5 [json_name = "colors"];TeamStanding.BuilderclearDivision()string division = 12 [json_name = "division"];TeamStanding.BuilderclearDraws()int32 draws = 8 [json_name = "draws"];TeamStanding.BuilderclearGamesBehind()int32 games_behind = 9 [json_name = "gamesBehind"];TeamStanding.BuilderclearId()uint64 id = 1 [json_name = "id"];TeamStanding.BuilderclearLogo()string logo = 4 [json_name = "logo"];TeamStanding.BuilderclearLosses()int32 losses = 7 [json_name = "losses"];TeamStanding.BuilderclearName()string name = 2 [json_name = "name"];TeamStanding.BuilderclearPoints()int32 points = 13 [json_name = "points"];TeamStanding.BuilderclearPosition()int32 position = 14 [json_name = "position"];TeamStanding.BuilderclearTotalGoals()int32 total_goals = 15 [json_name = "totalGoals"];TeamStanding.BuilderclearTotalGoalsReceived()int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];TeamStanding.BuilderclearWins()int32 wins = 6 [json_name = "wins"];java.lang.StringgetAlias()string alias = 3 [json_name = "alias"];com.google.protobuf.ByteStringgetAliasBytes()string alias = 3 [json_name = "alias"];java.lang.StringgetColors(int index)repeated string colors = 5 [json_name = "colors"];com.google.protobuf.ByteStringgetColorsBytes(int index)repeated string colors = 5 [json_name = "colors"];intgetColorsCount()repeated string colors = 5 [json_name = "colors"];java.util.List<java.lang.String>getColorsList()repeated string colors = 5 [json_name = "colors"];java.lang.StringgetDivision()string division = 12 [json_name = "division"];com.google.protobuf.ByteStringgetDivisionBytes()string division = 12 [json_name = "division"];intgetDraws()int32 draws = 8 [json_name = "draws"];intgetGamesBehind()int32 games_behind = 9 [json_name = "gamesBehind"];longgetId()uint64 id = 1 [json_name = "id"];java.lang.StringgetLogo()string logo = 4 [json_name = "logo"];com.google.protobuf.ByteStringgetLogoBytes()string logo = 4 [json_name = "logo"];intgetLosses()int32 losses = 7 [json_name = "losses"];java.lang.StringgetName()string name = 2 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()string name = 2 [json_name = "name"];intgetPoints()int32 points = 13 [json_name = "points"];intgetPosition()int32 position = 14 [json_name = "position"];intgetTotalGoals()int32 total_goals = 15 [json_name = "totalGoals"];intgetTotalGoalsReceived()int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];intgetWins()int32 wins = 6 [json_name = "wins"];TeamStanding.BuildersetAlias(java.lang.String value)string alias = 3 [json_name = "alias"];TeamStanding.BuildersetAliasBytes(com.google.protobuf.ByteString value)string alias = 3 [json_name = "alias"];TeamStanding.BuildersetColors(int index, java.lang.String value)repeated string colors = 5 [json_name = "colors"];TeamStanding.BuildersetDivision(java.lang.String value)string division = 12 [json_name = "division"];TeamStanding.BuildersetDivisionBytes(com.google.protobuf.ByteString value)string division = 12 [json_name = "division"];TeamStanding.BuildersetDraws(int value)int32 draws = 8 [json_name = "draws"];TeamStanding.BuildersetGamesBehind(int value)int32 games_behind = 9 [json_name = "gamesBehind"];TeamStanding.BuildersetId(long value)uint64 id = 1 [json_name = "id"];TeamStanding.BuildersetLogo(java.lang.String value)string logo = 4 [json_name = "logo"];TeamStanding.BuildersetLogoBytes(com.google.protobuf.ByteString value)string logo = 4 [json_name = "logo"];TeamStanding.BuildersetLosses(int value)int32 losses = 7 [json_name = "losses"];TeamStanding.BuildersetName(java.lang.String value)string name = 2 [json_name = "name"];TeamStanding.BuildersetNameBytes(com.google.protobuf.ByteString value)string name = 2 [json_name = "name"];TeamStanding.BuildersetPoints(int value)int32 points = 13 [json_name = "points"];TeamStanding.BuildersetPosition(int value)int32 position = 14 [json_name = "position"];TeamStanding.BuildersetTotalGoals(int value)int32 total_goals = 15 [json_name = "totalGoals"];TeamStanding.BuildersetTotalGoalsReceived(int value)int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];TeamStanding.BuildersetWins(int value)int32 wins = 6 [json_name = "wins"];-
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 interfaceTeamStandingOrBuilder- Returns:
- The id.
-
setId
public TeamStanding.Builder setId(long value)
uint64 id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public TeamStanding.Builder clearId()
uint64 id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
getName
public java.lang.String getName()
string name = 2 [json_name = "name"];- Specified by:
getNamein interfaceTeamStandingOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceTeamStandingOrBuilder- Returns:
- The bytes for name.
-
setName
public TeamStanding.Builder setName(java.lang.String value)
string name = 2 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TeamStanding.Builder clearName()
string name = 2 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
public TeamStanding.Builder setNameBytes(com.google.protobuf.ByteString value)
string name = 2 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAlias
public java.lang.String getAlias()
string alias = 3 [json_name = "alias"];- Specified by:
getAliasin interfaceTeamStandingOrBuilder- Returns:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()
string alias = 3 [json_name = "alias"];- Specified by:
getAliasBytesin interfaceTeamStandingOrBuilder- Returns:
- The bytes for alias.
-
setAlias
public TeamStanding.Builder setAlias(java.lang.String value)
string alias = 3 [json_name = "alias"];- Parameters:
value- The alias to set.- Returns:
- This builder for chaining.
-
clearAlias
public TeamStanding.Builder clearAlias()
string alias = 3 [json_name = "alias"];- Returns:
- This builder for chaining.
-
setAliasBytes
public TeamStanding.Builder setAliasBytes(com.google.protobuf.ByteString value)
string alias = 3 [json_name = "alias"];- Parameters:
value- The bytes for alias to set.- Returns:
- This builder for chaining.
-
getLogo
public java.lang.String getLogo()
string logo = 4 [json_name = "logo"];- Specified by:
getLogoin interfaceTeamStandingOrBuilder- Returns:
- The logo.
-
getLogoBytes
public com.google.protobuf.ByteString getLogoBytes()
string logo = 4 [json_name = "logo"];- Specified by:
getLogoBytesin interfaceTeamStandingOrBuilder- Returns:
- The bytes for logo.
-
setLogo
public TeamStanding.Builder setLogo(java.lang.String value)
string logo = 4 [json_name = "logo"];- Parameters:
value- The logo to set.- Returns:
- This builder for chaining.
-
clearLogo
public TeamStanding.Builder clearLogo()
string logo = 4 [json_name = "logo"];- Returns:
- This builder for chaining.
-
setLogoBytes
public TeamStanding.Builder setLogoBytes(com.google.protobuf.ByteString value)
string logo = 4 [json_name = "logo"];- Parameters:
value- The bytes for logo to set.- Returns:
- This builder for chaining.
-
getColorsList
public java.util.List<java.lang.String> getColorsList()
repeated string colors = 5 [json_name = "colors"];- Specified by:
getColorsListin interfaceTeamStandingOrBuilder- Returns:
- A list containing the colors.
-
getColorsCount
public int getColorsCount()
repeated string colors = 5 [json_name = "colors"];- Specified by:
getColorsCountin interfaceTeamStandingOrBuilder- Returns:
- The count of colors.
-
getColors
public java.lang.String getColors(int index)
repeated string colors = 5 [json_name = "colors"];- Specified by:
getColorsin interfaceTeamStandingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The colors at the given index.
-
getColorsBytes
public com.google.protobuf.ByteString getColorsBytes(int index)
repeated string colors = 5 [json_name = "colors"];- Specified by:
getColorsBytesin interfaceTeamStandingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the colors at the given index.
-
setColors
public TeamStanding.Builder setColors(int index, java.lang.String value)
repeated string colors = 5 [json_name = "colors"];- Parameters:
index- The index to set the value at.value- The colors to set.- Returns:
- This builder for chaining.
-
addColors
public TeamStanding.Builder addColors(java.lang.String value)
repeated string colors = 5 [json_name = "colors"];- Parameters:
value- The colors to add.- Returns:
- This builder for chaining.
-
addAllColors
public TeamStanding.Builder addAllColors(java.lang.Iterable<java.lang.String> values)
repeated string colors = 5 [json_name = "colors"];- Parameters:
values- The colors to add.- Returns:
- This builder for chaining.
-
clearColors
public TeamStanding.Builder clearColors()
repeated string colors = 5 [json_name = "colors"];- Returns:
- This builder for chaining.
-
addColorsBytes
public TeamStanding.Builder addColorsBytes(com.google.protobuf.ByteString value)
repeated string colors = 5 [json_name = "colors"];- Parameters:
value- The bytes of the colors to add.- Returns:
- This builder for chaining.
-
getWins
public int getWins()
int32 wins = 6 [json_name = "wins"];- Specified by:
getWinsin interfaceTeamStandingOrBuilder- Returns:
- The wins.
-
setWins
public TeamStanding.Builder setWins(int value)
int32 wins = 6 [json_name = "wins"];- Parameters:
value- The wins to set.- Returns:
- This builder for chaining.
-
clearWins
public TeamStanding.Builder clearWins()
int32 wins = 6 [json_name = "wins"];- Returns:
- This builder for chaining.
-
getLosses
public int getLosses()
int32 losses = 7 [json_name = "losses"];- Specified by:
getLossesin interfaceTeamStandingOrBuilder- Returns:
- The losses.
-
setLosses
public TeamStanding.Builder setLosses(int value)
int32 losses = 7 [json_name = "losses"];- Parameters:
value- The losses to set.- Returns:
- This builder for chaining.
-
clearLosses
public TeamStanding.Builder clearLosses()
int32 losses = 7 [json_name = "losses"];- Returns:
- This builder for chaining.
-
getDraws
public int getDraws()
int32 draws = 8 [json_name = "draws"];- Specified by:
getDrawsin interfaceTeamStandingOrBuilder- Returns:
- The draws.
-
setDraws
public TeamStanding.Builder setDraws(int value)
int32 draws = 8 [json_name = "draws"];- Parameters:
value- The draws to set.- Returns:
- This builder for chaining.
-
clearDraws
public TeamStanding.Builder clearDraws()
int32 draws = 8 [json_name = "draws"];- Returns:
- This builder for chaining.
-
getGamesBehind
public int getGamesBehind()
int32 games_behind = 9 [json_name = "gamesBehind"];- Specified by:
getGamesBehindin interfaceTeamStandingOrBuilder- Returns:
- The gamesBehind.
-
setGamesBehind
public TeamStanding.Builder setGamesBehind(int value)
int32 games_behind = 9 [json_name = "gamesBehind"];- Parameters:
value- The gamesBehind to set.- Returns:
- This builder for chaining.
-
clearGamesBehind
public TeamStanding.Builder clearGamesBehind()
int32 games_behind = 9 [json_name = "gamesBehind"];- Returns:
- This builder for chaining.
-
getDivision
public java.lang.String getDivision()
string division = 12 [json_name = "division"];- Specified by:
getDivisionin interfaceTeamStandingOrBuilder- Returns:
- The division.
-
getDivisionBytes
public com.google.protobuf.ByteString getDivisionBytes()
string division = 12 [json_name = "division"];- Specified by:
getDivisionBytesin interfaceTeamStandingOrBuilder- Returns:
- The bytes for division.
-
setDivision
public TeamStanding.Builder setDivision(java.lang.String value)
string division = 12 [json_name = "division"];- Parameters:
value- The division to set.- Returns:
- This builder for chaining.
-
clearDivision
public TeamStanding.Builder clearDivision()
string division = 12 [json_name = "division"];- Returns:
- This builder for chaining.
-
setDivisionBytes
public TeamStanding.Builder setDivisionBytes(com.google.protobuf.ByteString value)
string division = 12 [json_name = "division"];- Parameters:
value- The bytes for division to set.- Returns:
- This builder for chaining.
-
getPoints
public int getPoints()
int32 points = 13 [json_name = "points"];- Specified by:
getPointsin interfaceTeamStandingOrBuilder- Returns:
- The points.
-
setPoints
public TeamStanding.Builder setPoints(int value)
int32 points = 13 [json_name = "points"];- Parameters:
value- The points to set.- Returns:
- This builder for chaining.
-
clearPoints
public TeamStanding.Builder clearPoints()
int32 points = 13 [json_name = "points"];- Returns:
- This builder for chaining.
-
getPosition
public int getPosition()
int32 position = 14 [json_name = "position"];- Specified by:
getPositionin interfaceTeamStandingOrBuilder- Returns:
- The position.
-
setPosition
public TeamStanding.Builder setPosition(int value)
int32 position = 14 [json_name = "position"];- Parameters:
value- The position to set.- Returns:
- This builder for chaining.
-
clearPosition
public TeamStanding.Builder clearPosition()
int32 position = 14 [json_name = "position"];- Returns:
- This builder for chaining.
-
getTotalGoals
public int getTotalGoals()
int32 total_goals = 15 [json_name = "totalGoals"];- Specified by:
getTotalGoalsin interfaceTeamStandingOrBuilder- Returns:
- The totalGoals.
-
setTotalGoals
public TeamStanding.Builder setTotalGoals(int value)
int32 total_goals = 15 [json_name = "totalGoals"];- Parameters:
value- The totalGoals to set.- Returns:
- This builder for chaining.
-
clearTotalGoals
public TeamStanding.Builder clearTotalGoals()
int32 total_goals = 15 [json_name = "totalGoals"];- Returns:
- This builder for chaining.
-
getTotalGoalsReceived
public int getTotalGoalsReceived()
int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];- Specified by:
getTotalGoalsReceivedin interfaceTeamStandingOrBuilder- Returns:
- The totalGoalsReceived.
-
setTotalGoalsReceived
public TeamStanding.Builder setTotalGoalsReceived(int value)
int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];- Parameters:
value- The totalGoalsReceived to set.- Returns:
- This builder for chaining.
-
clearTotalGoalsReceived
public TeamStanding.Builder clearTotalGoalsReceived()
int32 total_goals_received = 16 [json_name = "totalGoalsReceived"];- Returns:
- This builder for chaining.
-
-