Class 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 type streamlayer.inplay.Country
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Country.Builder
      Protobuf type streamlayer.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      java.lang.String getAlpha2()
      ISO 3166-1 alpha-2 country code
      com.google.protobuf.ByteString getAlpha2Bytes()
      ISO 3166-1 alpha-2 country code
      java.lang.String getAlpha3()
      ISO 3166-1 alpha-3 country code
      com.google.protobuf.ByteString getAlpha3Bytes()
      ISO 3166-1 alpha-3 country code
      static Country getDefaultInstance()  
      java.lang.String getLeagues​(int index)
      repeated string leagues = 2 [json_name = "leagues"];
      com.google.protobuf.ByteString getLeaguesBytes​(int index)
      repeated string leagues = 2 [json_name = "leagues"];
      int getLeaguesCount()
      repeated string leagues = 2 [json_name = "leagues"];
      java.util.List<java.lang.String> getLeaguesList()
      repeated string leagues = 2 [json_name = "leagues"];
      java.lang.String getName()
      string name = 1 [json_name = "name"];
      com.google.protobuf.ByteString getNameBytes()
      string name = 1 [json_name = "name"];
      static Country.Builder newBuilder()  
      static Country.Builder newBuilder​(Country prototype)  
      static Country parseDelimitedFrom​(java.io.InputStream input)  
      static Country parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Country parseFrom​(byte[] data)  
      static Country parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Country parseFrom​(com.google.protobuf.ByteString data)  
      static Country parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Country parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Country parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Country parseFrom​(java.io.InputStream input)  
      static Country parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Country parseFrom​(java.nio.ByteBuffer data)  
      static Country parseFrom​(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
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getName

        public java.lang.String getName()
        string name = 1 [json_name = "name"];
        Specified by:
        getName in interface CountryOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        string name = 1 [json_name = "name"];
        Specified by:
        getNameBytes in interface CountryOrBuilder
        Returns:
        The bytes for name.
      • getLeaguesList

        public java.util.List<java.lang.String> getLeaguesList()
        repeated string leagues = 2 [json_name = "leagues"];
        Specified by:
        getLeaguesList in interface CountryOrBuilder
        Returns:
        A list containing the leagues.
      • getLeaguesCount

        public int getLeaguesCount()
        repeated string leagues = 2 [json_name = "leagues"];
        Specified by:
        getLeaguesCount in interface CountryOrBuilder
        Returns:
        The count of leagues.
      • getLeagues

        public java.lang.String getLeagues​(int index)
        repeated string leagues = 2 [json_name = "leagues"];
        Specified by:
        getLeagues in interface CountryOrBuilder
        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:
        getLeaguesBytes in interface CountryOrBuilder
        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:
        getAlpha2 in interface CountryOrBuilder
        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:
        getAlpha2Bytes in interface CountryOrBuilder
        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:
        getAlpha3 in interface CountryOrBuilder
        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:
        getAlpha3Bytes in interface CountryOrBuilder
        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
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<Country,​Country.Builder>
      • getDefaultInstance

        public static Country getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Country> parser()