Class ModifyEntryContactsRequest.Builder (1.89.0)

public static final class ModifyEntryContactsRequest.Builder extends GeneratedMessage.Builder<ModifyEntryContactsRequest.Builder> implements ModifyEntryContactsRequestOrBuilder

Request message for ModifyEntryContacts.

Protobuf type google.cloud.datacatalog.v1.ModifyEntryContactsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ModifyEntryContactsRequest build()
Returns
Type Description
ModifyEntryContactsRequest

buildPartial()

public ModifyEntryContactsRequest buildPartial()
Returns
Type Description
ModifyEntryContactsRequest

clear()

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

clearContacts()

public ModifyEntryContactsRequest.Builder clearContacts()

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ModifyEntryContactsRequest.Builder

clearName()

public ModifyEntryContactsRequest.Builder clearName()

Required. The full resource name of the entry.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ModifyEntryContactsRequest.Builder

This builder for chaining.

getContacts()

public Contacts getContacts()

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Contacts

The contacts.

getContactsBuilder()

public Contacts.Builder getContactsBuilder()

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Contacts.Builder

getContactsOrBuilder()

public ContactsOrBuilder getContactsOrBuilder()

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ContactsOrBuilder

getDefaultInstanceForType()

public ModifyEntryContactsRequest getDefaultInstanceForType()
Returns
Type Description
ModifyEntryContactsRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The full resource name of the entry.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The full resource name of the entry.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

hasContacts()

public boolean hasContacts()

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the contacts field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeContacts(Contacts value)

public ModifyEntryContactsRequest.Builder mergeContacts(Contacts value)

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Contacts
Returns
Type Description
ModifyEntryContactsRequest.Builder

mergeFrom(ModifyEntryContactsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContacts(Contacts value)

public ModifyEntryContactsRequest.Builder setContacts(Contacts value)

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Contacts
Returns
Type Description
ModifyEntryContactsRequest.Builder

setContacts(Contacts.Builder builderForValue)

public ModifyEntryContactsRequest.Builder setContacts(Contacts.Builder builderForValue)

Required. The new value for the Contacts.

.google.cloud.datacatalog.v1.Contacts contacts = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Contacts.Builder
Returns
Type Description
ModifyEntryContactsRequest.Builder

setName(String value)

public ModifyEntryContactsRequest.Builder setName(String value)

Required. The full resource name of the entry.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ModifyEntryContactsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ModifyEntryContactsRequest.Builder setNameBytes(ByteString value)

Required. The full resource name of the entry.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ModifyEntryContactsRequest.Builder

This builder for chaining.