Package com.google.cloud.channel.v1
Class ContactInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
com.google.cloud.channel.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 for a customer account.Protobuf type
google.cloud.channel.v1.ContactInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.The customer account's contact email.The customer account contact's first name.The customer account contact's last name.The customer account's contact phone number.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOutput only.com.google.protobuf.ByteStringOutput only.getEmail()The customer account's contact email.com.google.protobuf.ByteStringThe customer account's contact email.The customer account contact's first name.com.google.protobuf.ByteStringThe customer account contact's first name.The customer account contact's last name.com.google.protobuf.ByteStringThe customer account contact's last name.getPhone()The customer account's contact phone number.com.google.protobuf.ByteStringThe customer account's contact phone number.getTitle()Optional.com.google.protobuf.ByteStringOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ContactInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDisplayName(String value) Output only.setDisplayNameBytes(com.google.protobuf.ByteString value) Output only.The customer account's contact email.setEmailBytes(com.google.protobuf.ByteString value) The customer account's contact email.setFirstName(String value) The customer account contact's first name.setFirstNameBytes(com.google.protobuf.ByteString value) The customer account contact's first name.setLastName(String value) The customer account contact's last name.setLastNameBytes(com.google.protobuf.ByteString value) The customer account contact's last name.The customer account's contact phone number.setPhoneBytes(com.google.protobuf.ByteString value) The customer account's contact phone number.Optional.setTitleBytes(com.google.protobuf.ByteString value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<ContactInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ContactInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContactInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContactInfo.Builder>- Throws:
IOException
-
getFirstName
The customer account contact's first name. Optional for Team customers.
string first_name = 1;- Specified by:
getFirstNamein interfaceContactInfoOrBuilder- Returns:
- The firstName.
-
getFirstNameBytes
public com.google.protobuf.ByteString getFirstNameBytes()The customer account contact's first name. Optional for Team customers.
string first_name = 1;- Specified by:
getFirstNameBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for firstName.
-
setFirstName
The customer account contact's first name. Optional for Team customers.
string first_name = 1;- Parameters:
value- The firstName to set.- Returns:
- This builder for chaining.
-
clearFirstName
The customer account contact's first name. Optional for Team customers.
string first_name = 1;- Returns:
- This builder for chaining.
-
setFirstNameBytes
The customer account contact's first name. Optional for Team customers.
string first_name = 1;- Parameters:
value- The bytes for firstName to set.- Returns:
- This builder for chaining.
-
getLastName
The customer account contact's last name. Optional for Team customers.
string last_name = 2;- Specified by:
getLastNamein interfaceContactInfoOrBuilder- Returns:
- The lastName.
-
getLastNameBytes
public com.google.protobuf.ByteString getLastNameBytes()The customer account contact's last name. Optional for Team customers.
string last_name = 2;- Specified by:
getLastNameBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for lastName.
-
setLastName
The customer account contact's last name. Optional for Team customers.
string last_name = 2;- Parameters:
value- The lastName to set.- Returns:
- This builder for chaining.
-
clearLastName
The customer account contact's last name. Optional for Team customers.
string last_name = 2;- Returns:
- This builder for chaining.
-
setLastNameBytes
The customer account contact's last name. Optional for Team customers.
string last_name = 2;- Parameters:
value- The bytes for lastName to set.- Returns:
- This builder for chaining.
-
getDisplayName
Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNamein interfaceContactInfoOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getDisplayNameBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
Output only. The customer account contact's display name, formatted as a combination of the customer's first and last name.
string display_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getEmail
The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.
string email = 5;- Specified by:
getEmailin interfaceContactInfoOrBuilder- Returns:
- The email.
-
getEmailBytes
public com.google.protobuf.ByteString getEmailBytes()The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.
string email = 5;- Specified by:
getEmailBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for email.
-
setEmail
The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.
string email = 5;- Parameters:
value- The email to set.- Returns:
- This builder for chaining.
-
clearEmail
The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.
string email = 5;- Returns:
- This builder for chaining.
-
setEmailBytes
The customer account's contact email. Required for entitlements that create admin.google.com accounts, and serves as the customer's username for those accounts. Use this email to invite Team customers.
string email = 5;- Parameters:
value- The bytes for email to set.- Returns:
- This builder for chaining.
-
getTitle
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTitlein interfaceContactInfoOrBuilder- Returns:
- The title.
-
getTitleBytes
public com.google.protobuf.ByteString getTitleBytes()Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTitleBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for title.
-
setTitle
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The title to set.- Returns:
- This builder for chaining.
-
clearTitle
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setTitleBytes
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for title to set.- Returns:
- This builder for chaining.
-
getPhone
The customer account's contact phone number.
string phone = 7;- Specified by:
getPhonein interfaceContactInfoOrBuilder- Returns:
- The phone.
-
getPhoneBytes
public com.google.protobuf.ByteString getPhoneBytes()The customer account's contact phone number.
string phone = 7;- Specified by:
getPhoneBytesin interfaceContactInfoOrBuilder- Returns:
- The bytes for phone.
-
setPhone
The customer account's contact phone number.
string phone = 7;- Parameters:
value- The phone to set.- Returns:
- This builder for chaining.
-
clearPhone
The customer account's contact phone number.
string phone = 7;- Returns:
- This builder for chaining.
-
setPhoneBytes
The customer account's contact phone number.
string phone = 7;- Parameters:
value- The bytes for phone to set.- Returns:
- This builder for chaining.
-