- 3.59.0 (latest)
- 3.58.0
- 3.57.0
- 3.56.0
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.1
- 3.5.1
- 3.3.1
public static final class ContactInfo.Builder extends GeneratedMessageV3.Builder<ContactInfo.Builder> implements ContactInfoOrBuilder
Contact information for a customer account.
Protobuf type google.cloud.channel.v1.ContactInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ContactInfo.BuilderImplements
ContactInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContactInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
build()
public ContactInfo build()
Returns | |
---|---|
Type | Description |
ContactInfo |
buildPartial()
public ContactInfo buildPartial()
Returns | |
---|---|
Type | Description |
ContactInfo |
clear()
public ContactInfo.Builder clear()
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
clearDisplayName()
public ContactInfo.Builder 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 | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
clearEmail()
public ContactInfo.Builder 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 | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ContactInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
clearFirstName()
public ContactInfo.Builder clearFirstName()
The customer account contact's first name. Optional for Team customers.
string first_name = 1;
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
clearLastName()
public ContactInfo.Builder clearLastName()
The customer account contact's last name. Optional for Team customers.
string last_name = 2;
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ContactInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
clearPhone()
public ContactInfo.Builder clearPhone()
The customer account's contact phone number.
string phone = 7;
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
clearTitle()
public ContactInfo.Builder clearTitle()
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
clone()
public ContactInfo.Builder clone()
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
getDefaultInstanceForType()
public ContactInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ContactInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String 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];
Returns | |
---|---|
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for displayName. |
getEmail()
public String 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;
Returns | |
---|---|
Type | Description |
String | The email. |
getEmailBytes()
public 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for email. |
getFirstName()
public String getFirstName()
The customer account contact's first name. Optional for Team customers.
string first_name = 1;
Returns | |
---|---|
Type | Description |
String | The firstName. |
getFirstNameBytes()
public ByteString getFirstNameBytes()
The customer account contact's first name. Optional for Team customers.
string first_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for firstName. |
getLastName()
public String getLastName()
The customer account contact's last name. Optional for Team customers.
string last_name = 2;
Returns | |
---|---|
Type | Description |
String | The lastName. |
getLastNameBytes()
public ByteString getLastNameBytes()
The customer account contact's last name. Optional for Team customers.
string last_name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for lastName. |
getPhone()
public String getPhone()
The customer account's contact phone number.
string phone = 7;
Returns | |
---|---|
Type | Description |
String | The phone. |
getPhoneBytes()
public ByteString getPhoneBytes()
The customer account's contact phone number.
string phone = 7;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for phone. |
getTitle()
public String getTitle()
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The title. |
getTitleBytes()
public ByteString getTitleBytes()
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for title. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ContactInfo other)
public ContactInfo.Builder mergeFrom(ContactInfo other)
Parameter | |
---|---|
Name | Description |
other | ContactInfo |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContactInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ContactInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContactInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
setDisplayName(String value)
public ContactInfo.Builder setDisplayName(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The displayName to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setDisplayNameBytes(ByteString value)
public ContactInfo.Builder setDisplayNameBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setEmail(String value)
public ContactInfo.Builder setEmail(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The email to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setEmailBytes(ByteString value)
public ContactInfo.Builder setEmailBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for email to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ContactInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
setFirstName(String value)
public ContactInfo.Builder setFirstName(String value)
The customer account contact's first name. Optional for Team customers.
string first_name = 1;
Parameter | |
---|---|
Name | Description |
value | String The firstName to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setFirstNameBytes(ByteString value)
public ContactInfo.Builder setFirstNameBytes(ByteString value)
The customer account contact's first name. Optional for Team customers.
string first_name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for firstName to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setLastName(String value)
public ContactInfo.Builder setLastName(String value)
The customer account contact's last name. Optional for Team customers.
string last_name = 2;
Parameter | |
---|---|
Name | Description |
value | String The lastName to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setLastNameBytes(ByteString value)
public ContactInfo.Builder setLastNameBytes(ByteString value)
The customer account contact's last name. Optional for Team customers.
string last_name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for lastName to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setPhone(String value)
public ContactInfo.Builder setPhone(String value)
The customer account's contact phone number.
string phone = 7;
Parameter | |
---|---|
Name | Description |
value | String The phone to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setPhoneBytes(ByteString value)
public ContactInfo.Builder setPhoneBytes(ByteString value)
The customer account's contact phone number.
string phone = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for phone to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContactInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |
setTitle(String value)
public ContactInfo.Builder setTitle(String value)
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The title to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setTitleBytes(ByteString value)
public ContactInfo.Builder setTitleBytes(ByteString value)
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for title to set. |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ContactInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ContactInfo.Builder |