Class ContactInfo.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ContactInfo.Builder>
com.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
ai.pipestream.parsed.data.image.v1.ContactInfo.Builder
All Implemented Interfaces:
ContactInfoOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ContactInfo

public static final class ContactInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder> implements ContactInfoOrBuilder
 Contact information structure for IPTC.
 
Protobuf type ai.pipestream.parsed.data.image.v1.ContactInfo
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
    • clear

      public ContactInfo.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
    • getDefaultInstanceForType

      public ContactInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public ContactInfo build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ContactInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ContactInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContactInfo.Builder>
    • mergeFrom

      public ContactInfo.Builder mergeFrom(ContactInfo other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
    • mergeFrom

      public ContactInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContactInfo.Builder>
      Throws:
      IOException
    • getAddressList

      public com.google.protobuf.ProtocolStringList getAddressList()
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Specified by:
      getAddressList in interface ContactInfoOrBuilder
      Returns:
      A list containing the address.
    • getAddressCount

      public int getAddressCount()
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Specified by:
      getAddressCount in interface ContactInfoOrBuilder
      Returns:
      The count of address.
    • getAddress

      public String getAddress(int index)
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Specified by:
      getAddress in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The address at the given index.
    • getAddressBytes

      public com.google.protobuf.ByteString getAddressBytes(int index)
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Specified by:
      getAddressBytes in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the address at the given index.
    • setAddress

      public ContactInfo.Builder setAddress(int index, String value)
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Parameters:
      index - The index to set the value at.
      value - The address to set.
      Returns:
      This builder for chaining.
    • addAddress

      public ContactInfo.Builder addAddress(String value)
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Parameters:
      value - The address to add.
      Returns:
      This builder for chaining.
    • addAllAddress

      public ContactInfo.Builder addAllAddress(Iterable<String> values)
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Parameters:
      values - The address to add.
      Returns:
      This builder for chaining.
    • clearAddress

      public ContactInfo.Builder clearAddress()
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Returns:
      This builder for chaining.
    • addAddressBytes

      public ContactInfo.Builder addAddressBytes(com.google.protobuf.ByteString value)
       Multi-line street address.
       
      repeated string address = 1 [json_name = "address"];
      Parameters:
      value - The bytes of the address to add.
      Returns:
      This builder for chaining.
    • hasCity

      public boolean hasCity()
       City name.
       
      optional string city = 2 [json_name = "city"];
      Specified by:
      hasCity in interface ContactInfoOrBuilder
      Returns:
      Whether the city field is set.
    • getCity

      public String getCity()
       City name.
       
      optional string city = 2 [json_name = "city"];
      Specified by:
      getCity in interface ContactInfoOrBuilder
      Returns:
      The city.
    • getCityBytes

      public com.google.protobuf.ByteString getCityBytes()
       City name.
       
      optional string city = 2 [json_name = "city"];
      Specified by:
      getCityBytes in interface ContactInfoOrBuilder
      Returns:
      The bytes for city.
    • setCity

      public ContactInfo.Builder setCity(String value)
       City name.
       
      optional string city = 2 [json_name = "city"];
      Parameters:
      value - The city to set.
      Returns:
      This builder for chaining.
    • clearCity

      public ContactInfo.Builder clearCity()
       City name.
       
      optional string city = 2 [json_name = "city"];
      Returns:
      This builder for chaining.
    • setCityBytes

      public ContactInfo.Builder setCityBytes(com.google.protobuf.ByteString value)
       City name.
       
      optional string city = 2 [json_name = "city"];
      Parameters:
      value - The bytes for city to set.
      Returns:
      This builder for chaining.
    • hasCountry

      public boolean hasCountry()
       Country name.
       
      optional string country = 3 [json_name = "country"];
      Specified by:
      hasCountry in interface ContactInfoOrBuilder
      Returns:
      Whether the country field is set.
    • getCountry

      public String getCountry()
       Country name.
       
      optional string country = 3 [json_name = "country"];
      Specified by:
      getCountry in interface ContactInfoOrBuilder
      Returns:
      The country.
    • getCountryBytes

      public com.google.protobuf.ByteString getCountryBytes()
       Country name.
       
      optional string country = 3 [json_name = "country"];
      Specified by:
      getCountryBytes in interface ContactInfoOrBuilder
      Returns:
      The bytes for country.
    • setCountry

      public ContactInfo.Builder setCountry(String value)
       Country name.
       
      optional string country = 3 [json_name = "country"];
      Parameters:
      value - The country to set.
      Returns:
      This builder for chaining.
    • clearCountry

      public ContactInfo.Builder clearCountry()
       Country name.
       
      optional string country = 3 [json_name = "country"];
      Returns:
      This builder for chaining.
    • setCountryBytes

      public ContactInfo.Builder setCountryBytes(com.google.protobuf.ByteString value)
       Country name.
       
      optional string country = 3 [json_name = "country"];
      Parameters:
      value - The bytes for country to set.
      Returns:
      This builder for chaining.
    • getEmailList

      public com.google.protobuf.ProtocolStringList getEmailList()
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Specified by:
      getEmailList in interface ContactInfoOrBuilder
      Returns:
      A list containing the email.
    • getEmailCount

      public int getEmailCount()
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Specified by:
      getEmailCount in interface ContactInfoOrBuilder
      Returns:
      The count of email.
    • getEmail

      public String getEmail(int index)
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Specified by:
      getEmail in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The email at the given index.
    • getEmailBytes

      public com.google.protobuf.ByteString getEmailBytes(int index)
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Specified by:
      getEmailBytes in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the email at the given index.
    • setEmail

      public ContactInfo.Builder setEmail(int index, String value)
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Parameters:
      index - The index to set the value at.
      value - The email to set.
      Returns:
      This builder for chaining.
    • addEmail

      public ContactInfo.Builder addEmail(String value)
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Parameters:
      value - The email to add.
      Returns:
      This builder for chaining.
    • addAllEmail

      public ContactInfo.Builder addAllEmail(Iterable<String> values)
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Parameters:
      values - The email to add.
      Returns:
      This builder for chaining.
    • clearEmail

      public ContactInfo.Builder clearEmail()
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Returns:
      This builder for chaining.
    • addEmailBytes

      public ContactInfo.Builder addEmailBytes(com.google.protobuf.ByteString value)
       Email addresses.
       
      repeated string email = 4 [json_name = "email"];
      Parameters:
      value - The bytes of the email to add.
      Returns:
      This builder for chaining.
    • getPhoneList

      public com.google.protobuf.ProtocolStringList getPhoneList()
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Specified by:
      getPhoneList in interface ContactInfoOrBuilder
      Returns:
      A list containing the phone.
    • getPhoneCount

      public int getPhoneCount()
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Specified by:
      getPhoneCount in interface ContactInfoOrBuilder
      Returns:
      The count of phone.
    • getPhone

      public String getPhone(int index)
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Specified by:
      getPhone in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The phone at the given index.
    • getPhoneBytes

      public com.google.protobuf.ByteString getPhoneBytes(int index)
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Specified by:
      getPhoneBytes in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the phone at the given index.
    • setPhone

      public ContactInfo.Builder setPhone(int index, String value)
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Parameters:
      index - The index to set the value at.
      value - The phone to set.
      Returns:
      This builder for chaining.
    • addPhone

      public ContactInfo.Builder addPhone(String value)
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Parameters:
      value - The phone to add.
      Returns:
      This builder for chaining.
    • addAllPhone

      public ContactInfo.Builder addAllPhone(Iterable<String> values)
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Parameters:
      values - The phone to add.
      Returns:
      This builder for chaining.
    • clearPhone

      public ContactInfo.Builder clearPhone()
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Returns:
      This builder for chaining.
    • addPhoneBytes

      public ContactInfo.Builder addPhoneBytes(com.google.protobuf.ByteString value)
       Phone numbers.
       
      repeated string phone = 5 [json_name = "phone"];
      Parameters:
      value - The bytes of the phone to add.
      Returns:
      This builder for chaining.
    • hasPostalCode

      public boolean hasPostalCode()
       Postal or ZIP code.
       
      optional string postal_code = 6 [json_name = "postalCode"];
      Specified by:
      hasPostalCode in interface ContactInfoOrBuilder
      Returns:
      Whether the postalCode field is set.
    • getPostalCode

      public String getPostalCode()
       Postal or ZIP code.
       
      optional string postal_code = 6 [json_name = "postalCode"];
      Specified by:
      getPostalCode in interface ContactInfoOrBuilder
      Returns:
      The postalCode.
    • getPostalCodeBytes

      public com.google.protobuf.ByteString getPostalCodeBytes()
       Postal or ZIP code.
       
      optional string postal_code = 6 [json_name = "postalCode"];
      Specified by:
      getPostalCodeBytes in interface ContactInfoOrBuilder
      Returns:
      The bytes for postalCode.
    • setPostalCode

      public ContactInfo.Builder setPostalCode(String value)
       Postal or ZIP code.
       
      optional string postal_code = 6 [json_name = "postalCode"];
      Parameters:
      value - The postalCode to set.
      Returns:
      This builder for chaining.
    • clearPostalCode

      public ContactInfo.Builder clearPostalCode()
       Postal or ZIP code.
       
      optional string postal_code = 6 [json_name = "postalCode"];
      Returns:
      This builder for chaining.
    • setPostalCodeBytes

      public ContactInfo.Builder setPostalCodeBytes(com.google.protobuf.ByteString value)
       Postal or ZIP code.
       
      optional string postal_code = 6 [json_name = "postalCode"];
      Parameters:
      value - The bytes for postalCode to set.
      Returns:
      This builder for chaining.
    • hasStateProvince

      public boolean hasStateProvince()
       State or province name.
       
      optional string state_province = 7 [json_name = "stateProvince"];
      Specified by:
      hasStateProvince in interface ContactInfoOrBuilder
      Returns:
      Whether the stateProvince field is set.
    • getStateProvince

      public String getStateProvince()
       State or province name.
       
      optional string state_province = 7 [json_name = "stateProvince"];
      Specified by:
      getStateProvince in interface ContactInfoOrBuilder
      Returns:
      The stateProvince.
    • getStateProvinceBytes

      public com.google.protobuf.ByteString getStateProvinceBytes()
       State or province name.
       
      optional string state_province = 7 [json_name = "stateProvince"];
      Specified by:
      getStateProvinceBytes in interface ContactInfoOrBuilder
      Returns:
      The bytes for stateProvince.
    • setStateProvince

      public ContactInfo.Builder setStateProvince(String value)
       State or province name.
       
      optional string state_province = 7 [json_name = "stateProvince"];
      Parameters:
      value - The stateProvince to set.
      Returns:
      This builder for chaining.
    • clearStateProvince

      public ContactInfo.Builder clearStateProvince()
       State or province name.
       
      optional string state_province = 7 [json_name = "stateProvince"];
      Returns:
      This builder for chaining.
    • setStateProvinceBytes

      public ContactInfo.Builder setStateProvinceBytes(com.google.protobuf.ByteString value)
       State or province name.
       
      optional string state_province = 7 [json_name = "stateProvince"];
      Parameters:
      value - The bytes for stateProvince to set.
      Returns:
      This builder for chaining.
    • getWebUrlList

      public com.google.protobuf.ProtocolStringList getWebUrlList()
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Specified by:
      getWebUrlList in interface ContactInfoOrBuilder
      Returns:
      A list containing the webUrl.
    • getWebUrlCount

      public int getWebUrlCount()
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Specified by:
      getWebUrlCount in interface ContactInfoOrBuilder
      Returns:
      The count of webUrl.
    • getWebUrl

      public String getWebUrl(int index)
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Specified by:
      getWebUrl in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The webUrl at the given index.
    • getWebUrlBytes

      public com.google.protobuf.ByteString getWebUrlBytes(int index)
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Specified by:
      getWebUrlBytes in interface ContactInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the webUrl at the given index.
    • setWebUrl

      public ContactInfo.Builder setWebUrl(int index, String value)
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Parameters:
      index - The index to set the value at.
      value - The webUrl to set.
      Returns:
      This builder for chaining.
    • addWebUrl

      public ContactInfo.Builder addWebUrl(String value)
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Parameters:
      value - The webUrl to add.
      Returns:
      This builder for chaining.
    • addAllWebUrl

      public ContactInfo.Builder addAllWebUrl(Iterable<String> values)
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Parameters:
      values - The webUrl to add.
      Returns:
      This builder for chaining.
    • clearWebUrl

      public ContactInfo.Builder clearWebUrl()
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Returns:
      This builder for chaining.
    • addWebUrlBytes

      public ContactInfo.Builder addWebUrlBytes(com.google.protobuf.ByteString value)
       Website URLs.
       
      repeated string web_url = 8 [json_name = "webUrl"];
      Parameters:
      value - The bytes of the webUrl to add.
      Returns:
      This builder for chaining.