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 ClassesModifier and TypeClassDescriptionstatic final classContact 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAddress(int index) Multi-line street address.com.google.protobuf.ByteStringgetAddressBytes(int index) Multi-line street address.intMulti-line street address.com.google.protobuf.ProtocolStringListMulti-line street address.getCity()City name.com.google.protobuf.ByteStringCity name.Country name.com.google.protobuf.ByteStringCountry name.static ContactInfostatic final com.google.protobuf.Descriptors.DescriptorgetEmail(int index) Email addresses.com.google.protobuf.ByteStringgetEmailBytes(int index) Email addresses.intEmail addresses.com.google.protobuf.ProtocolStringListEmail addresses.com.google.protobuf.Parser<ContactInfo> getPhone(int index) Phone numbers.com.google.protobuf.ByteStringgetPhoneBytes(int index) Phone numbers.intPhone numbers.com.google.protobuf.ProtocolStringListPhone numbers.Postal or ZIP code.com.google.protobuf.ByteStringPostal or ZIP code.intState or province name.com.google.protobuf.ByteStringState or province name.getWebUrl(int index) Website URLs.com.google.protobuf.ByteStringgetWebUrlBytes(int index) Website URLs.intWebsite URLs.com.google.protobuf.ProtocolStringListWebsite URLs.booleanhasCity()City name.booleanCountry name.inthashCode()booleanPostal or ZIP code.booleanState or province name.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ContactInfo.Builderstatic ContactInfo.BuildernewBuilder(ContactInfo prototype) protected ContactInfo.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ContactInfoparseDelimitedFrom(InputStream input) static ContactInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContactInfoparseFrom(byte[] data) static ContactInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContactInfoparseFrom(com.google.protobuf.ByteString data) static ContactInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContactInfoparseFrom(com.google.protobuf.CodedInputStream input) static ContactInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContactInfoparseFrom(InputStream input) static ContactInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ContactInfoparseFrom(ByteBuffer data) static ContactInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ContactInfo> parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ADDRESS_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER- See Also:
-
CITY_FIELD_NUMBER
public static final int CITY_FIELD_NUMBER- See Also:
-
COUNTRY_FIELD_NUMBER
public static final int COUNTRY_FIELD_NUMBER- See Also:
-
EMAIL_FIELD_NUMBER
public static final int EMAIL_FIELD_NUMBER- See Also:
-
PHONE_FIELD_NUMBER
public static final int PHONE_FIELD_NUMBER- See Also:
-
POSTAL_CODE_FIELD_NUMBER
public static final int POSTAL_CODE_FIELD_NUMBER- See Also:
-
STATE_PROVINCE_FIELD_NUMBER
public static final int STATE_PROVINCE_FIELD_NUMBER- See Also:
-
WEB_URL_FIELD_NUMBER
public static final int WEB_URL_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getAddressList
public com.google.protobuf.ProtocolStringList getAddressList()Multi-line street address.
repeated string address = 1 [json_name = "address"];- Specified by:
getAddressListin interfaceContactInfoOrBuilder- Returns:
- A list containing the address.
-
getAddressCount
public int getAddressCount()Multi-line street address.
repeated string address = 1 [json_name = "address"];- Specified by:
getAddressCountin interfaceContactInfoOrBuilder- Returns:
- The count of address.
-
getAddress
Multi-line street address.
repeated string address = 1 [json_name = "address"];- Specified by:
getAddressin interfaceContactInfoOrBuilder- 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:
getAddressBytesin interfaceContactInfoOrBuilder- 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:
hasCityin interfaceContactInfoOrBuilder- Returns:
- Whether the city field is set.
-
getCity
City name.
optional string city = 2 [json_name = "city"];- Specified by:
getCityin interfaceContactInfoOrBuilder- Returns:
- The city.
-
getCityBytes
public com.google.protobuf.ByteString getCityBytes()City name.
optional string city = 2 [json_name = "city"];- Specified by:
getCityBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for city.
-
hasCountry
public boolean hasCountry()Country name.
optional string country = 3 [json_name = "country"];- Specified by:
hasCountryin interfaceContactInfoOrBuilder- Returns:
- Whether the country field is set.
-
getCountry
Country name.
optional string country = 3 [json_name = "country"];- Specified by:
getCountryin interfaceContactInfoOrBuilder- Returns:
- The country.
-
getCountryBytes
public com.google.protobuf.ByteString getCountryBytes()Country name.
optional string country = 3 [json_name = "country"];- Specified by:
getCountryBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for country.
-
getEmailList
public com.google.protobuf.ProtocolStringList getEmailList()Email addresses.
repeated string email = 4 [json_name = "email"];- Specified by:
getEmailListin interfaceContactInfoOrBuilder- Returns:
- A list containing the email.
-
getEmailCount
public int getEmailCount()Email addresses.
repeated string email = 4 [json_name = "email"];- Specified by:
getEmailCountin interfaceContactInfoOrBuilder- Returns:
- The count of email.
-
getEmail
Email addresses.
repeated string email = 4 [json_name = "email"];- Specified by:
getEmailin interfaceContactInfoOrBuilder- 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:
getEmailBytesin interfaceContactInfoOrBuilder- 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:
getPhoneListin interfaceContactInfoOrBuilder- Returns:
- A list containing the phone.
-
getPhoneCount
public int getPhoneCount()Phone numbers.
repeated string phone = 5 [json_name = "phone"];- Specified by:
getPhoneCountin interfaceContactInfoOrBuilder- Returns:
- The count of phone.
-
getPhone
Phone numbers.
repeated string phone = 5 [json_name = "phone"];- Specified by:
getPhonein interfaceContactInfoOrBuilder- 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:
getPhoneBytesin interfaceContactInfoOrBuilder- 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:
hasPostalCodein interfaceContactInfoOrBuilder- Returns:
- Whether the postalCode field is set.
-
getPostalCode
Postal or ZIP code.
optional string postal_code = 6 [json_name = "postalCode"];- Specified by:
getPostalCodein interfaceContactInfoOrBuilder- Returns:
- The postalCode.
-
getPostalCodeBytes
public com.google.protobuf.ByteString getPostalCodeBytes()Postal or ZIP code.
optional string postal_code = 6 [json_name = "postalCode"];- Specified by:
getPostalCodeBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for postalCode.
-
hasStateProvince
public boolean hasStateProvince()State or province name.
optional string state_province = 7 [json_name = "stateProvince"];- Specified by:
hasStateProvincein interfaceContactInfoOrBuilder- Returns:
- Whether the stateProvince field is set.
-
getStateProvince
State or province name.
optional string state_province = 7 [json_name = "stateProvince"];- Specified by:
getStateProvincein interfaceContactInfoOrBuilder- Returns:
- The stateProvince.
-
getStateProvinceBytes
public com.google.protobuf.ByteString getStateProvinceBytes()State or province name.
optional string state_province = 7 [json_name = "stateProvince"];- Specified by:
getStateProvinceBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for stateProvince.
-
getWebUrlList
public com.google.protobuf.ProtocolStringList getWebUrlList()Website URLs.
repeated string web_url = 8 [json_name = "webUrl"];- Specified by:
getWebUrlListin interfaceContactInfoOrBuilder- Returns:
- A list containing the webUrl.
-
getWebUrlCount
public int getWebUrlCount()Website URLs.
repeated string web_url = 8 [json_name = "webUrl"];- Specified by:
getWebUrlCountin interfaceContactInfoOrBuilder- Returns:
- The count of webUrl.
-
getWebUrl
Website URLs.
repeated string web_url = 8 [json_name = "webUrl"];- Specified by:
getWebUrlin interfaceContactInfoOrBuilder- 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:
getWebUrlBytesin interfaceContactInfoOrBuilder- 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:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ContactInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ContactInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ContactInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ContactInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-