Interface CountryOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Country, Country.Builder

    public interface CountryOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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
      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"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getName

        java.lang.String getName()
        string name = 1 [json_name = "name"];
        Returns:
        The name.
      • getNameBytes

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

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

        int getLeaguesCount()
        repeated string leagues = 2 [json_name = "leagues"];
        Returns:
        The count of leagues.
      • getLeagues

        java.lang.String getLeagues​(int index)
        repeated string leagues = 2 [json_name = "leagues"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The leagues at the given index.
      • getLeaguesBytes

        com.google.protobuf.ByteString getLeaguesBytes​(int index)
        repeated string leagues = 2 [json_name = "leagues"];
        Parameters:
        index - The index of the element to return.
        Returns:
        The leagues at the given index.
      • getAlpha2

        java.lang.String getAlpha2()
         ISO 3166-1 alpha-2 country code
         
        string alpha2 = 3 [json_name = "alpha2"];
        Returns:
        The alpha2.
      • getAlpha2Bytes

        com.google.protobuf.ByteString getAlpha2Bytes()
         ISO 3166-1 alpha-2 country code
         
        string alpha2 = 3 [json_name = "alpha2"];
        Returns:
        The bytes for alpha2.
      • getAlpha3

        java.lang.String getAlpha3()
         ISO 3166-1 alpha-3 country code
         
        string alpha3 = 4 [json_name = "alpha3"];
        Returns:
        The alpha3.
      • getAlpha3Bytes

        com.google.protobuf.ByteString getAlpha3Bytes()
         ISO 3166-1 alpha-3 country code
         
        string alpha3 = 4 [json_name = "alpha3"];
        Returns:
        The bytes for alpha3.