Package com.streamlayer.inplay
Class Country
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Country,Country.Builder>
-
- com.streamlayer.inplay.Country
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,CountryOrBuilder
public final class Country extends com.google.protobuf.GeneratedMessageLite<Country,Country.Builder> implements CountryOrBuilder
Protobuf typestreamlayer.inplay.Country
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCountry.BuilderProtobuf typestreamlayer.inplay.Country-
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 intALPHA2_FIELD_NUMBERstatic intALPHA3_FIELD_NUMBERstatic intLEAGUES_FIELD_NUMBERstatic intNAME_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.StringgetAlpha2()ISO 3166-1 alpha-2 country codecom.google.protobuf.ByteStringgetAlpha2Bytes()ISO 3166-1 alpha-2 country codejava.lang.StringgetAlpha3()ISO 3166-1 alpha-3 country codecom.google.protobuf.ByteStringgetAlpha3Bytes()ISO 3166-1 alpha-3 country codestatic CountrygetDefaultInstance()java.lang.StringgetLeagues(int index)repeated string leagues = 2 [json_name = "leagues"];com.google.protobuf.ByteStringgetLeaguesBytes(int index)repeated string leagues = 2 [json_name = "leagues"];intgetLeaguesCount()repeated string leagues = 2 [json_name = "leagues"];java.util.List<java.lang.String>getLeaguesList()repeated string leagues = 2 [json_name = "leagues"];java.lang.StringgetName()string name = 1 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()string name = 1 [json_name = "name"];static Country.BuildernewBuilder()static Country.BuildernewBuilder(Country prototype)static CountryparseDelimitedFrom(java.io.InputStream input)static CountryparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CountryparseFrom(byte[] data)static CountryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CountryparseFrom(com.google.protobuf.ByteString data)static CountryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CountryparseFrom(com.google.protobuf.CodedInputStream input)static CountryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CountryparseFrom(java.io.InputStream input)static CountryparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CountryparseFrom(java.nio.ByteBuffer data)static CountryparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Country>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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LEAGUES_FIELD_NUMBER
public static final int LEAGUES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALPHA2_FIELD_NUMBER
public static final int ALPHA2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALPHA3_FIELD_NUMBER
public static final int ALPHA3_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceCountryOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceCountryOrBuilder- Returns:
- The bytes for name.
-
getLeaguesList
public java.util.List<java.lang.String> getLeaguesList()
repeated string leagues = 2 [json_name = "leagues"];- Specified by:
getLeaguesListin interfaceCountryOrBuilder- Returns:
- A list containing the leagues.
-
getLeaguesCount
public int getLeaguesCount()
repeated string leagues = 2 [json_name = "leagues"];- Specified by:
getLeaguesCountin interfaceCountryOrBuilder- Returns:
- The count of leagues.
-
getLeagues
public java.lang.String getLeagues(int index)
repeated string leagues = 2 [json_name = "leagues"];- Specified by:
getLeaguesin interfaceCountryOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The leagues at the given index.
-
getLeaguesBytes
public com.google.protobuf.ByteString getLeaguesBytes(int index)
repeated string leagues = 2 [json_name = "leagues"];- Specified by:
getLeaguesBytesin interfaceCountryOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the leagues at the given index.
-
getAlpha2
public java.lang.String getAlpha2()
ISO 3166-1 alpha-2 country code
string alpha2 = 3 [json_name = "alpha2"];- Specified by:
getAlpha2in interfaceCountryOrBuilder- Returns:
- The alpha2.
-
getAlpha2Bytes
public com.google.protobuf.ByteString getAlpha2Bytes()
ISO 3166-1 alpha-2 country code
string alpha2 = 3 [json_name = "alpha2"];- Specified by:
getAlpha2Bytesin interfaceCountryOrBuilder- Returns:
- The bytes for alpha2.
-
getAlpha3
public java.lang.String getAlpha3()
ISO 3166-1 alpha-3 country code
string alpha3 = 4 [json_name = "alpha3"];- Specified by:
getAlpha3in interfaceCountryOrBuilder- Returns:
- The alpha3.
-
getAlpha3Bytes
public com.google.protobuf.ByteString getAlpha3Bytes()
ISO 3166-1 alpha-3 country code
string alpha3 = 4 [json_name = "alpha3"];- Specified by:
getAlpha3Bytesin interfaceCountryOrBuilder- Returns:
- The bytes for alpha3.
-
parseFrom
public static Country parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Country parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Country parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Country parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Country parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Country parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Country parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Country parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Country parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Country parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Country parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Country parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Country.Builder newBuilder()
-
newBuilder
public static Country.Builder newBuilder(Country 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<Country,Country.Builder>
-
getDefaultInstance
public static Country getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Country> parser()
-
-