Package com.streamlayer.sports.hockey
Class TeamStanding
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<TeamStanding,TeamStanding.Builder>
-
- com.streamlayer.sports.hockey.TeamStanding
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,TeamStandingOrBuilder
public final class TeamStanding extends com.google.protobuf.GeneratedMessageLite<TeamStanding,TeamStanding.Builder> implements TeamStandingOrBuilder
Protobuf typestreamlayer.sports.hockey.TeamStanding
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTeamStanding.BuilderProtobuf typestreamlayer.sports.hockey.TeamStandingstatic classTeamStanding.RankProtobuf typestreamlayer.sports.hockey.TeamStanding.Rankstatic interfaceTeamStanding.RankOrBuilderstatic classTeamStanding.StreakProtobuf typestreamlayer.sports.hockey.TeamStanding.Streakstatic interfaceTeamStanding.StreakOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intALIAS_FIELD_NUMBERstatic intCOLORS_FIELD_NUMBERstatic intCONFERENCE_FIELD_NUMBERstatic intDIVISION_FIELD_NUMBERstatic intGAMES_BEHIND_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intLOGO_FIELD_NUMBERstatic intLOSSES_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPCT_FIELD_NUMBERstatic intRANK_FIELD_NUMBERstatic intSTREAK_FIELD_NUMBERstatic intWINS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)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.StringgetConference()string conference = 13 [json_name = "conference"];com.google.protobuf.ByteStringgetConferenceBytes()string conference = 13 [json_name = "conference"];static TeamStandinggetDefaultInstance()java.lang.StringgetDivision()string division = 12 [json_name = "division"];com.google.protobuf.ByteStringgetDivisionBytes()string division = 12 [json_name = "division"];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"];doublegetPct()double pct = 8 [json_name = "pct"];TeamStanding.RankgetRank().streamlayer.sports.hockey.TeamStanding.Rank rank = 11 [json_name = "rank"];TeamStanding.StreakgetStreak().streamlayer.sports.hockey.TeamStanding.Streak streak = 10 [json_name = "streak"];intgetWins()int32 wins = 6 [json_name = "wins"];booleanhasRank().streamlayer.sports.hockey.TeamStanding.Rank rank = 11 [json_name = "rank"];booleanhasStreak().streamlayer.sports.hockey.TeamStanding.Streak streak = 10 [json_name = "streak"];static TeamStanding.BuildernewBuilder()static TeamStanding.BuildernewBuilder(TeamStanding prototype)static TeamStandingparseDelimitedFrom(java.io.InputStream input)static TeamStandingparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TeamStandingparseFrom(byte[] data)static TeamStandingparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TeamStandingparseFrom(com.google.protobuf.ByteString data)static TeamStandingparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TeamStandingparseFrom(com.google.protobuf.CodedInputStream input)static TeamStandingparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TeamStandingparseFrom(java.io.InputStream input)static TeamStandingparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TeamStandingparseFrom(java.nio.ByteBuffer data)static TeamStandingparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TeamStanding>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALIAS_FIELD_NUMBER
public static final int ALIAS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGO_FIELD_NUMBER
public static final int LOGO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLORS_FIELD_NUMBER
public static final int COLORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WINS_FIELD_NUMBER
public static final int WINS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOSSES_FIELD_NUMBER
public static final int LOSSES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PCT_FIELD_NUMBER
public static final int PCT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GAMES_BEHIND_FIELD_NUMBER
public static final int GAMES_BEHIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAK_FIELD_NUMBER
public static final int STREAK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RANK_FIELD_NUMBER
public static final int RANK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIVISION_FIELD_NUMBER
public static final int DIVISION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFERENCE_FIELD_NUMBER
public static final int CONFERENCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public long getId()
uint64 id = 1 [json_name = "id"];- Specified by:
getIdin interfaceTeamStandingOrBuilder- Returns:
- The id.
-
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.
-
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.
-
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.
-
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.
-
getWins
public int getWins()
int32 wins = 6 [json_name = "wins"];- Specified by:
getWinsin interfaceTeamStandingOrBuilder- Returns:
- The wins.
-
getLosses
public int getLosses()
int32 losses = 7 [json_name = "losses"];- Specified by:
getLossesin interfaceTeamStandingOrBuilder- Returns:
- The losses.
-
getPct
public double getPct()
double pct = 8 [json_name = "pct"];- Specified by:
getPctin interfaceTeamStandingOrBuilder- Returns:
- The pct.
-
getGamesBehind
public int getGamesBehind()
int32 games_behind = 9 [json_name = "gamesBehind"];- Specified by:
getGamesBehindin interfaceTeamStandingOrBuilder- Returns:
- The gamesBehind.
-
hasStreak
public boolean hasStreak()
.streamlayer.sports.hockey.TeamStanding.Streak streak = 10 [json_name = "streak"];- Specified by:
hasStreakin interfaceTeamStandingOrBuilder- Returns:
- Whether the streak field is set.
-
getStreak
public TeamStanding.Streak getStreak()
.streamlayer.sports.hockey.TeamStanding.Streak streak = 10 [json_name = "streak"];- Specified by:
getStreakin interfaceTeamStandingOrBuilder- Returns:
- The streak.
-
hasRank
public boolean hasRank()
.streamlayer.sports.hockey.TeamStanding.Rank rank = 11 [json_name = "rank"];- Specified by:
hasRankin interfaceTeamStandingOrBuilder- Returns:
- Whether the rank field is set.
-
getRank
public TeamStanding.Rank getRank()
.streamlayer.sports.hockey.TeamStanding.Rank rank = 11 [json_name = "rank"];- Specified by:
getRankin interfaceTeamStandingOrBuilder- Returns:
- The rank.
-
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.
-
getConference
public java.lang.String getConference()
string conference = 13 [json_name = "conference"];- Specified by:
getConferencein interfaceTeamStandingOrBuilder- Returns:
- The conference.
-
getConferenceBytes
public com.google.protobuf.ByteString getConferenceBytes()
string conference = 13 [json_name = "conference"];- Specified by:
getConferenceBytesin interfaceTeamStandingOrBuilder- Returns:
- The bytes for conference.
-
parseFrom
public static TeamStanding parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TeamStanding parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TeamStanding parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TeamStanding parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TeamStanding parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TeamStanding parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TeamStanding parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TeamStanding parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TeamStanding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static TeamStanding parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TeamStanding parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static TeamStanding parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static TeamStanding.Builder newBuilder()
-
newBuilder
public static TeamStanding.Builder newBuilder(TeamStanding prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<TeamStanding,TeamStanding.Builder>
-
getDefaultInstance
public static TeamStanding getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TeamStanding> parser()
-
-