Package com.streamlayer.sports.common
Class League
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<League,League.Builder>
-
- com.streamlayer.sports.common.League
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,LeagueOrBuilder
public final class League extends com.google.protobuf.GeneratedMessageLite<League,League.Builder> implements LeagueOrBuilder
Protobuf typestreamlayer.sports.League
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLeague.BuilderProtobuf typestreamlayer.sports.League-
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 intCOUNTRY_FIELD_NUMBERstatic intCUSTOM_FIELDS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSPORT_ID_FIELD_NUMBERstatic intSYNC_FIELD_NUMBERstatic intSYNC_STATUS_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 = 11 [json_name = "alias"];com.google.protobuf.ByteStringgetAliasBytes()string alias = 11 [json_name = "alias"];java.lang.StringgetCountry()string country = 9 [json_name = "country"];com.google.protobuf.ByteStringgetCountryBytes()string country = 9 [json_name = "country"];java.lang.StringgetCustomFields()string custom_fields = 8 [json_name = "customFields"];com.google.protobuf.ByteStringgetCustomFieldsBytes()string custom_fields = 8 [json_name = "customFields"];static LeaguegetDefaultInstance()longgetId()uint64 id = 1 [json_name = "id"];java.lang.StringgetName()string name = 10 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()string name = 10 [json_name = "name"];longgetSportId()uint64 sport_id = 14 [json_name = "sportId"];booleangetSync()bool sync = 13 [json_name = "sync"];SyncStatusProvidergetSyncStatus(int index)repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];intgetSyncStatusCount()repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];java.util.List<SyncStatusProvider>getSyncStatusList()repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];SyncStatusProviderOrBuildergetSyncStatusOrBuilder(int index)repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];java.util.List<? extends SyncStatusProviderOrBuilder>getSyncStatusOrBuilderList()repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];static League.BuildernewBuilder()static League.BuildernewBuilder(League prototype)static LeagueparseDelimitedFrom(java.io.InputStream input)static LeagueparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeagueparseFrom(byte[] data)static LeagueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeagueparseFrom(com.google.protobuf.ByteString data)static LeagueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeagueparseFrom(com.google.protobuf.CodedInputStream input)static LeagueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeagueparseFrom(java.io.InputStream input)static LeagueparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static LeagueparseFrom(java.nio.ByteBuffer data)static LeagueparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<League>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
-
CUSTOM_FIELDS_FIELD_NUMBER
public static final int CUSTOM_FIELDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COUNTRY_FIELD_NUMBER
public static final int COUNTRY_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
-
SYNC_FIELD_NUMBER
public static final int SYNC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPORT_ID_FIELD_NUMBER
public static final int SPORT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SYNC_STATUS_FIELD_NUMBER
public static final int SYNC_STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public long getId()
uint64 id = 1 [json_name = "id"];- Specified by:
getIdin interfaceLeagueOrBuilder- Returns:
- The id.
-
getCustomFields
public java.lang.String getCustomFields()
string custom_fields = 8 [json_name = "customFields"];- Specified by:
getCustomFieldsin interfaceLeagueOrBuilder- Returns:
- The customFields.
-
getCustomFieldsBytes
public com.google.protobuf.ByteString getCustomFieldsBytes()
string custom_fields = 8 [json_name = "customFields"];- Specified by:
getCustomFieldsBytesin interfaceLeagueOrBuilder- Returns:
- The bytes for customFields.
-
getCountry
public java.lang.String getCountry()
string country = 9 [json_name = "country"];- Specified by:
getCountryin interfaceLeagueOrBuilder- Returns:
- The country.
-
getCountryBytes
public com.google.protobuf.ByteString getCountryBytes()
string country = 9 [json_name = "country"];- Specified by:
getCountryBytesin interfaceLeagueOrBuilder- Returns:
- The bytes for country.
-
getName
public java.lang.String getName()
string name = 10 [json_name = "name"];- Specified by:
getNamein interfaceLeagueOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 10 [json_name = "name"];- Specified by:
getNameBytesin interfaceLeagueOrBuilder- Returns:
- The bytes for name.
-
getAlias
public java.lang.String getAlias()
string alias = 11 [json_name = "alias"];- Specified by:
getAliasin interfaceLeagueOrBuilder- Returns:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()
string alias = 11 [json_name = "alias"];- Specified by:
getAliasBytesin interfaceLeagueOrBuilder- Returns:
- The bytes for alias.
-
getSync
public boolean getSync()
bool sync = 13 [json_name = "sync"];- Specified by:
getSyncin interfaceLeagueOrBuilder- Returns:
- The sync.
-
getSportId
public long getSportId()
uint64 sport_id = 14 [json_name = "sportId"];- Specified by:
getSportIdin interfaceLeagueOrBuilder- Returns:
- The sportId.
-
getSyncStatusList
public java.util.List<SyncStatusProvider> getSyncStatusList()
repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];- Specified by:
getSyncStatusListin interfaceLeagueOrBuilder
-
getSyncStatusOrBuilderList
public java.util.List<? extends SyncStatusProviderOrBuilder> getSyncStatusOrBuilderList()
repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];
-
getSyncStatusCount
public int getSyncStatusCount()
repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];- Specified by:
getSyncStatusCountin interfaceLeagueOrBuilder
-
getSyncStatus
public SyncStatusProvider getSyncStatus(int index)
repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];- Specified by:
getSyncStatusin interfaceLeagueOrBuilder
-
getSyncStatusOrBuilder
public SyncStatusProviderOrBuilder getSyncStatusOrBuilder(int index)
repeated .streamlayer.sports.SyncStatusProvider sync_status = 12 [json_name = "syncStatus"];
-
parseFrom
public static League parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static League parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static League parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static League parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static League parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static League parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static League parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static League parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static League parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static League parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static League parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static League parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static League.Builder newBuilder()
-
newBuilder
public static League.Builder newBuilder(League 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<League,League.Builder>
-
getDefaultInstance
public static League getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<League> parser()
-
-