Interface ContactInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContactInfo,ContactInfo.Builder
@Generated
public interface ContactInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAddress(int index) Multi-line street address.com.google.protobuf.ByteStringgetAddressBytes(int index) Multi-line street address.intMulti-line street address.Multi-line street address.getCity()City name.com.google.protobuf.ByteStringCity name.Country name.com.google.protobuf.ByteStringCountry name.getEmail(int index) Email addresses.com.google.protobuf.ByteStringgetEmailBytes(int index) Email addresses.intEmail addresses.Email addresses.getPhone(int index) Phone numbers.com.google.protobuf.ByteStringgetPhoneBytes(int index) Phone numbers.intPhone numbers.Phone numbers.Postal or ZIP code.com.google.protobuf.ByteStringPostal or ZIP code.State 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.Website URLs.booleanhasCity()City name.booleanCountry name.booleanPostal or ZIP code.booleanState or province name.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAddressList
Multi-line street address.
repeated string address = 1 [json_name = "address"];- Returns:
- A list containing the address.
-
getAddressCount
int getAddressCount()Multi-line street address.
repeated string address = 1 [json_name = "address"];- Returns:
- The count of address.
-
getAddress
Multi-line street address.
repeated string address = 1 [json_name = "address"];- Parameters:
index- The index of the element to return.- Returns:
- The address at the given index.
-
getAddressBytes
com.google.protobuf.ByteString getAddressBytes(int index) Multi-line street address.
repeated string address = 1 [json_name = "address"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the address at the given index.
-
hasCity
boolean hasCity()City name.
optional string city = 2 [json_name = "city"];- Returns:
- Whether the city field is set.
-
getCity
String getCity()City name.
optional string city = 2 [json_name = "city"];- Returns:
- The city.
-
getCityBytes
com.google.protobuf.ByteString getCityBytes()City name.
optional string city = 2 [json_name = "city"];- Returns:
- The bytes for city.
-
hasCountry
boolean hasCountry()Country name.
optional string country = 3 [json_name = "country"];- Returns:
- Whether the country field is set.
-
getCountry
String getCountry()Country name.
optional string country = 3 [json_name = "country"];- Returns:
- The country.
-
getCountryBytes
com.google.protobuf.ByteString getCountryBytes()Country name.
optional string country = 3 [json_name = "country"];- Returns:
- The bytes for country.
-
getEmailList
Email addresses.
repeated string email = 4 [json_name = "email"];- Returns:
- A list containing the email.
-
getEmailCount
int getEmailCount()Email addresses.
repeated string email = 4 [json_name = "email"];- Returns:
- The count of email.
-
getEmail
Email addresses.
repeated string email = 4 [json_name = "email"];- Parameters:
index- The index of the element to return.- Returns:
- The email at the given index.
-
getEmailBytes
com.google.protobuf.ByteString getEmailBytes(int index) Email addresses.
repeated string email = 4 [json_name = "email"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the email at the given index.
-
getPhoneList
Phone numbers.
repeated string phone = 5 [json_name = "phone"];- Returns:
- A list containing the phone.
-
getPhoneCount
int getPhoneCount()Phone numbers.
repeated string phone = 5 [json_name = "phone"];- Returns:
- The count of phone.
-
getPhone
Phone numbers.
repeated string phone = 5 [json_name = "phone"];- Parameters:
index- The index of the element to return.- Returns:
- The phone at the given index.
-
getPhoneBytes
com.google.protobuf.ByteString getPhoneBytes(int index) Phone numbers.
repeated string phone = 5 [json_name = "phone"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the phone at the given index.
-
hasPostalCode
boolean hasPostalCode()Postal or ZIP code.
optional string postal_code = 6 [json_name = "postalCode"];- Returns:
- Whether the postalCode field is set.
-
getPostalCode
String getPostalCode()Postal or ZIP code.
optional string postal_code = 6 [json_name = "postalCode"];- Returns:
- The postalCode.
-
getPostalCodeBytes
com.google.protobuf.ByteString getPostalCodeBytes()Postal or ZIP code.
optional string postal_code = 6 [json_name = "postalCode"];- Returns:
- The bytes for postalCode.
-
hasStateProvince
boolean hasStateProvince()State or province name.
optional string state_province = 7 [json_name = "stateProvince"];- Returns:
- Whether the stateProvince field is set.
-
getStateProvince
String getStateProvince()State or province name.
optional string state_province = 7 [json_name = "stateProvince"];- Returns:
- The stateProvince.
-
getStateProvinceBytes
com.google.protobuf.ByteString getStateProvinceBytes()State or province name.
optional string state_province = 7 [json_name = "stateProvince"];- Returns:
- The bytes for stateProvince.
-
getWebUrlList
Website URLs.
repeated string web_url = 8 [json_name = "webUrl"];- Returns:
- A list containing the webUrl.
-
getWebUrlCount
int getWebUrlCount()Website URLs.
repeated string web_url = 8 [json_name = "webUrl"];- Returns:
- The count of webUrl.
-
getWebUrl
Website URLs.
repeated string web_url = 8 [json_name = "webUrl"];- Parameters:
index- The index of the element to return.- Returns:
- The webUrl at the given index.
-
getWebUrlBytes
com.google.protobuf.ByteString getWebUrlBytes(int index) Website URLs.
repeated string web_url = 8 [json_name = "webUrl"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the webUrl at the given index.
-