Class OrganizationContact.Builder (0.1.0)

public static final class OrganizationContact.Builder extends GeneratedMessageV3.Builder<OrganizationContact.Builder> implements OrganizationContactOrBuilder

Contact information of the customer organization.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.OrganizationContact

Static Methods

getDescriptor()

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

Methods

addAllContacts(Iterable<? extends Contact> values)

public OrganizationContact.Builder addAllContacts(Iterable<? extends Contact> values)

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
values Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Contact>
Returns
Type Description
OrganizationContact.Builder

addContacts(Contact value)

public OrganizationContact.Builder addContacts(Contact value)

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
value Contact
Returns
Type Description
OrganizationContact.Builder

addContacts(Contact.Builder builderForValue)

public OrganizationContact.Builder addContacts(Contact.Builder builderForValue)

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
builderForValue Contact.Builder
Returns
Type Description
OrganizationContact.Builder

addContacts(int index, Contact value)

public OrganizationContact.Builder addContacts(int index, Contact value)

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];

Parameters
Name Description
index int
value Contact
Returns
Type Description
OrganizationContact.Builder

addContacts(int index, Contact.Builder builderForValue)

public OrganizationContact.Builder addContacts(int index, Contact.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Contact.Builder
Returns
Type Description
OrganizationContact.Builder

addContactsBuilder()

public Contact.Builder addContactsBuilder()

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
Contact.Builder

addContactsBuilder(int index)

public Contact.Builder addContactsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OrganizationContact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrganizationContact.Builder
Overrides

build()

public OrganizationContact build()
Returns
Type Description
OrganizationContact

buildPartial()

public OrganizationContact buildPartial()
Returns
Type Description
OrganizationContact

clear()

public OrganizationContact.Builder clear()
Returns
Type Description
OrganizationContact.Builder
Overrides

clearAddress()

public OrganizationContact.Builder clearAddress()

Required. The organization's address.

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

Returns
Type Description
OrganizationContact.Builder

clearContacts()

public OrganizationContact.Builder clearContacts()

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
OrganizationContact.Builder

clearEmail()

public OrganizationContact.Builder clearEmail()

Optional. The organization's email.

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

Returns
Type Description
OrganizationContact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OrganizationContact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
OrganizationContact.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public OrganizationContact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
OrganizationContact.Builder
Overrides

clearPhone()

public OrganizationContact.Builder clearPhone()

Optional. The organization's phone number.

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

Returns
Type Description
OrganizationContact.Builder

This builder for chaining.

clone()

public OrganizationContact.Builder clone()
Returns
Type Description
OrganizationContact.Builder
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.

getAddressBuilder()

public PostalAddress.Builder getAddressBuilder()

Required. The organization's address.

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

Returns
Type Description
com.google.type.PostalAddress.Builder

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

getContactsBuilder(int index)

public Contact.Builder getContactsBuilder(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.Builder

getContactsBuilderList()

public List<Contact.Builder> getContactsBuilderList()

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<Builder>

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAddress(PostalAddress value)

public OrganizationContact.Builder mergeAddress(PostalAddress value)

Required. The organization's address.

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

Parameter
Name Description
value com.google.type.PostalAddress
Returns
Type Description
OrganizationContact.Builder

mergeFrom(OrganizationContact other)

public OrganizationContact.Builder mergeFrom(OrganizationContact other)
Parameter
Name Description
other OrganizationContact
Returns
Type Description
OrganizationContact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OrganizationContact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OrganizationContact.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public OrganizationContact.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
OrganizationContact.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OrganizationContact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrganizationContact.Builder
Overrides

removeContacts(int index)

public OrganizationContact.Builder removeContacts(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
OrganizationContact.Builder

setAddress(PostalAddress value)

public OrganizationContact.Builder setAddress(PostalAddress value)

Required. The organization's address.

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

Parameter
Name Description
value com.google.type.PostalAddress
Returns
Type Description
OrganizationContact.Builder

setAddress(PostalAddress.Builder builderForValue)

public OrganizationContact.Builder setAddress(PostalAddress.Builder builderForValue)

Required. The organization's address.

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

Parameter
Name Description
builderForValue com.google.type.PostalAddress.Builder
Returns
Type Description
OrganizationContact.Builder

setContacts(int index, Contact value)

public OrganizationContact.Builder setContacts(int index, Contact value)

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];

Parameters
Name Description
index int
value Contact
Returns
Type Description
OrganizationContact.Builder

setContacts(int index, Contact.Builder builderForValue)

public OrganizationContact.Builder setContacts(int index, Contact.Builder builderForValue)

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];

Parameters
Name Description
index int
builderForValue Contact.Builder
Returns
Type Description
OrganizationContact.Builder

setEmail(String value)

public OrganizationContact.Builder setEmail(String value)

Optional. The organization's email.

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

Parameter
Name Description
value String

The email to set.

Returns
Type Description
OrganizationContact.Builder

This builder for chaining.

setEmailBytes(ByteString value)

public OrganizationContact.Builder setEmailBytes(ByteString value)

Optional. The organization's email.

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

Parameter
Name Description
value ByteString

The bytes for email to set.

Returns
Type Description
OrganizationContact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OrganizationContact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
OrganizationContact.Builder
Overrides

setPhone(String value)

public OrganizationContact.Builder setPhone(String value)

Optional. The organization's phone number.

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

Parameter
Name Description
value String

The phone to set.

Returns
Type Description
OrganizationContact.Builder

This builder for chaining.

setPhoneBytes(ByteString value)

public OrganizationContact.Builder setPhoneBytes(ByteString value)

Optional. The organization's phone number.

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

Parameter
Name Description
value ByteString

The bytes for phone to set.

Returns
Type Description
OrganizationContact.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public OrganizationContact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
OrganizationContact.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final OrganizationContact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
OrganizationContact.Builder
Overrides