Class ListCountriesResponseData.Builder

    • Method Detail

      • getCountryBytes

        public com.google.protobuf.ByteString getCountryBytes()
         "United States"
         
        string country = 1 [json_name = "country"];
        Specified by:
        getCountryBytes in interface ListCountriesResponseDataOrBuilder
        Returns:
        The bytes for country.
      • setCountry

        public ListCountriesResponseData.Builder setCountry​(java.lang.String value)
         "United States"
         
        string country = 1 [json_name = "country"];
        Parameters:
        value - The country to set.
        Returns:
        This builder for chaining.
      • clearCountry

        public ListCountriesResponseData.Builder clearCountry()
         "United States"
         
        string country = 1 [json_name = "country"];
        Returns:
        This builder for chaining.
      • setCountryBytes

        public ListCountriesResponseData.Builder setCountryBytes​(com.google.protobuf.ByteString value)
         "United States"
         
        string country = 1 [json_name = "country"];
        Parameters:
        value - The bytes for country to set.
        Returns:
        This builder for chaining.
      • setAlpha2

        public ListCountriesResponseData.Builder setAlpha2​(java.lang.String value)
         "US"
         
        string alpha2 = 2 [json_name = "alpha2"];
        Parameters:
        value - The alpha2 to set.
        Returns:
        This builder for chaining.
      • setAlpha2Bytes

        public ListCountriesResponseData.Builder setAlpha2Bytes​(com.google.protobuf.ByteString value)
         "US"
         
        string alpha2 = 2 [json_name = "alpha2"];
        Parameters:
        value - The bytes for alpha2 to set.
        Returns:
        This builder for chaining.
      • setCnt

        public ListCountriesResponseData.Builder setCnt​(int value)
        int32 cnt = 3 [json_name = "cnt"];
        Parameters:
        value - The cnt to set.
        Returns:
        This builder for chaining.