Class OrganizationContact (0.2.0)

public final class OrganizationContact extends GeneratedMessageV3 implements OrganizationContactOrBuilder

Contact information of the customer organization.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact

Static Fields

ADDRESS_FIELD_NUMBER

public static final int ADDRESS_FIELD_NUMBER
Field Value
Type Description
int

CONTACTS_FIELD_NUMBER

public static final int CONTACTS_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_FIELD_NUMBER

public static final int EMAIL_FIELD_NUMBER
Field Value
Type Description
int

PHONE_FIELD_NUMBER

public static final int PHONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OrganizationContact getDefaultInstance()
Returns
Type Description
OrganizationContact

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OrganizationContact.Builder newBuilder()
Returns
Type Description
OrganizationContact.Builder

newBuilder(OrganizationContact prototype)

public static OrganizationContact.Builder newBuilder(OrganizationContact prototype)
Parameter
Name Description
prototype OrganizationContact
Returns
Type Description
OrganizationContact.Builder

parseDelimitedFrom(InputStream input)

public static OrganizationContact parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OrganizationContact
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationContact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationContact
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OrganizationContact parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OrganizationContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OrganizationContact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OrganizationContact parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OrganizationContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OrganizationContact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OrganizationContact parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OrganizationContact
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationContact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationContact
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OrganizationContact parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OrganizationContact
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OrganizationContact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationContact
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OrganizationContact parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OrganizationContact
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OrganizationContact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationContact
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OrganizationContact> parser()
Returns
Type Description
Parser<OrganizationContact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAddress()

public PostalAddress getAddress()

Required. The organization's address.

.google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.PostalAddress

The address.

getAddressOrBuilder()

public PostalAddressOrBuilder getAddressOrBuilder()

Required. The organization's address.

.google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.PostalAddressOrBuilder

getContacts(int index)

public Contact getContacts(int index)

Required. The individual points of contact in the organization at this location.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Contact

getContactsCount()

public int getContactsCount()

Required. The individual points of contact in the organization at this location.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getContactsList()

public List<Contact> getContactsList()

Required. The individual points of contact in the organization at this location.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Contact>

getContactsOrBuilder(int index)

public ContactOrBuilder getContactsOrBuilder(int index)

Required. The individual points of contact in the organization at this location.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ContactOrBuilder

getContactsOrBuilderList()

public List<? extends ContactOrBuilder> getContactsOrBuilderList()

Required. The individual points of contact in the organization at this location.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.ContactOrBuilder>

getDefaultInstanceForType()

public OrganizationContact getDefaultInstanceForType()
Returns
Type Description
OrganizationContact

getEmail()

public String getEmail()

Optional. The organization's email.

string email = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The email.

getEmailBytes()

public ByteString getEmailBytes()

Optional. The organization's email.

string email = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for email.

getParserForType()

public Parser<OrganizationContact> getParserForType()
Returns
Type Description
Parser<OrganizationContact>
Overrides

getPhone()

public String getPhone()

Optional. The organization's phone number.

string phone = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The phone.

getPhoneBytes()

public ByteString getPhoneBytes()

Optional. The organization's phone number.

string phone = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for phone.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAddress()

public boolean hasAddress()

Required. The organization's address.

.google.type.PostalAddress address = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the address field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OrganizationContact.Builder newBuilderForType()
Returns
Type Description
OrganizationContact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OrganizationContact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OrganizationContact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OrganizationContact.Builder toBuilder()
Returns
Type Description
OrganizationContact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException