Interface TransactionData.AddressOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TransactionData.Address, TransactionData.Address.Builder
Enclosing class:
TransactionData

public static interface TransactionData.AddressOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRecipient

      String getRecipient()
       Optional. The recipient name, potentially including information such as
       "care of".
       
      string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The recipient.
    • getRecipientBytes

      com.google.protobuf.ByteString getRecipientBytes()
       Optional. The recipient name, potentially including information such as
       "care of".
       
      string recipient = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for recipient.
    • getAddressList

      List<String> getAddressList()
       Optional. The first lines of the address. The first line generally
       contains the street name and number, and further lines may include
       information such as an apartment number.
       
      repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the address.
    • getAddressCount

      int getAddressCount()
       Optional. The first lines of the address. The first line generally
       contains the street name and number, and further lines may include
       information such as an apartment number.
       
      repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of address.
    • getAddress

      String getAddress(int index)
       Optional. The first lines of the address. The first line generally
       contains the street name and number, and further lines may include
       information such as an apartment number.
       
      repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The address at the given index.
    • getAddressBytes

      com.google.protobuf.ByteString getAddressBytes(int index)
       Optional. The first lines of the address. The first line generally
       contains the street name and number, and further lines may include
       information such as an apartment number.
       
      repeated string address = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the address at the given index.
    • getLocality

      String getLocality()
       Optional. The town/city of the address.
       
      string locality = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The locality.
    • getLocalityBytes

      com.google.protobuf.ByteString getLocalityBytes()
       Optional. The town/city of the address.
       
      string locality = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for locality.
    • getAdministrativeArea

      String getAdministrativeArea()
       Optional. The state, province, or otherwise administrative area of the
       address.
       
      string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The administrativeArea.
    • getAdministrativeAreaBytes

      com.google.protobuf.ByteString getAdministrativeAreaBytes()
       Optional. The state, province, or otherwise administrative area of the
       address.
       
      string administrative_area = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for administrativeArea.
    • getRegionCode

      String getRegionCode()
       Optional. The CLDR country/region of the address.
       
      string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The regionCode.
    • getRegionCodeBytes

      com.google.protobuf.ByteString getRegionCodeBytes()
       Optional. The CLDR country/region of the address.
       
      string region_code = 5 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for regionCode.
    • getPostalCode

      String getPostalCode()
       Optional. The postal or ZIP code of the address.
       
      string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The postalCode.
    • getPostalCodeBytes

      com.google.protobuf.ByteString getPostalCodeBytes()
       Optional. The postal or ZIP code of the address.
       
      string postal_code = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for postalCode.