public final class ContactInfo extends GeneratedMessageV3 implements ContactInfoOrBuilder
Contact information for a customer account.
Protobuf type google.cloud.channel.v1.ContactInfo
Fields
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
public static final int EMAIL_FIELD_NUMBER
Field Value
public static final int FIRST_NAME_FIELD_NUMBER
Field Value
public static final int LAST_NAME_FIELD_NUMBER
Field Value
public static final int PHONE_FIELD_NUMBER
Field Value
public static final int TITLE_FIELD_NUMBER
Field Value
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public static ContactInfo getDefaultInstance()
Returns
public ContactInfo getDefaultInstanceForType()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
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.
|
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.
|
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.
|
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
public String getFirstName()
The customer account contact's first name. Optional for Team customers.
string first_name = 1;
Returns
Type | Description |
String | The firstName.
|
public ByteString getFirstNameBytes()
The customer account contact's first name. Optional for Team customers.
string first_name = 1;
Returns
public String getLastName()
The customer account contact's last name. Optional for Team customers.
string last_name = 2;
Returns
Type | Description |
String | The lastName.
|
public ByteString getLastNameBytes()
The customer account contact's last name. Optional for Team customers.
string last_name = 2;
Returns
public Parser<ContactInfo> getParserForType()
Returns
Overrides
The customer account's contact phone number.
string phone = 7;
Returns
Type | Description |
String | The phone.
|
public ByteString getPhoneBytes()
The customer account's contact phone number.
string phone = 7;
Returns
public int getSerializedSize()
Returns
Overrides
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
String | The title.
|
public ByteString getTitleBytes()
Optional. The customer account contact's job title.
string title = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public static ContactInfo.Builder newBuilder()
Returns
public static ContactInfo.Builder newBuilder(ContactInfo prototype)
Parameter
Returns
public ContactInfo.Builder newBuilderForType()
Returns
protected ContactInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ContactInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContactInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContactInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ContactInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContactInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ContactInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContactInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ContactInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContactInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ContactInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ContactInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ContactInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ContactInfo> parser()
Returns
public ContactInfo.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions