Class ModifyEntryContactsRequest.Builder (1.55.0)

public static final class ModifyEntryContactsRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModifyEntryContactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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