Class ContactInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
ai.pipestream.parsed.data.image.v1.ContactInfo
All Implemented Interfaces:
ContactInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ContactInfo extends com.google.protobuf.GeneratedMessage implements ContactInfoOrBuilder
 Contact information structure for IPTC.
 
Protobuf type ai.pipestream.parsed.data.image.v1.ContactInfo
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contact information structure for IPTC.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

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

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    getAddress(int index)
    Multi-line street address.
    com.google.protobuf.ByteString
    getAddressBytes(int index)
    Multi-line street address.
    int
    Multi-line street address.
    com.google.protobuf.ProtocolStringList
    Multi-line street address.
    City name.
    com.google.protobuf.ByteString
    City name.
    Country name.
    com.google.protobuf.ByteString
    Country name.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    getEmail(int index)
    Email addresses.
    com.google.protobuf.ByteString
    getEmailBytes(int index)
    Email addresses.
    int
    Email addresses.
    com.google.protobuf.ProtocolStringList
    Email addresses.
    com.google.protobuf.Parser<ContactInfo>
     
    getPhone(int index)
    Phone numbers.
    com.google.protobuf.ByteString
    getPhoneBytes(int index)
    Phone numbers.
    int
    Phone numbers.
    com.google.protobuf.ProtocolStringList
    Phone numbers.
    Postal or ZIP code.
    com.google.protobuf.ByteString
    Postal or ZIP code.
    int
     
    State or province name.
    com.google.protobuf.ByteString
    State or province name.
    getWebUrl(int index)
    Website URLs.
    com.google.protobuf.ByteString
    getWebUrlBytes(int index)
    Website URLs.
    int
    Website URLs.
    com.google.protobuf.ProtocolStringList
    Website URLs.
    boolean
    City name.
    boolean
    Country name.
    int
     
    boolean
    Postal or ZIP code.
    boolean
    State or province name.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ContactInfo>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    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.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ContactInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContactInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContactInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContactInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContactInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContactInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContactInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContactInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContactInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContactInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContactInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContactInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static ContactInfo.Builder newBuilder()
    • newBuilder

      public static ContactInfo.Builder newBuilder(ContactInfo prototype)
    • toBuilder

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

      protected ContactInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ContactInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ContactInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<ContactInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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