Class ModifyEntryContactsRequest.Builder (1.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ModifyEntryContactsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ModifyEntryContactsRequest.Builder
Overrides

build()

public ModifyEntryContactsRequest build()
Returns
TypeDescription
ModifyEntryContactsRequest

buildPartial()

public ModifyEntryContactsRequest buildPartial()
Returns
TypeDescription
ModifyEntryContactsRequest

clear()

public ModifyEntryContactsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ModifyEntryContactsRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public ModifyEntryContactsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ModifyEntryContactsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ModifyEntryContactsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ModifyEntryContactsRequest.Builder
Overrides

clone()

public ModifyEntryContactsRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ContactsOrBuilder

getDefaultInstanceForType()

public ModifyEntryContactsRequest getDefaultInstanceForType()
Returns
TypeDescription
ModifyEntryContactsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the contacts field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueContacts
Returns
TypeDescription
ModifyEntryContactsRequest.Builder

mergeFrom(ModifyEntryContactsRequest other)

public ModifyEntryContactsRequest.Builder mergeFrom(ModifyEntryContactsRequest other)
Parameter
NameDescription
otherModifyEntryContactsRequest
Returns
TypeDescription
ModifyEntryContactsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ModifyEntryContactsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ModifyEntryContactsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ModifyEntryContactsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ModifyEntryContactsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ModifyEntryContactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueContacts
Returns
TypeDescription
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
NameDescription
builderForValueContacts.Builder
Returns
TypeDescription
ModifyEntryContactsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ModifyEntryContactsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ModifyEntryContactsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ModifyEntryContactsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ModifyEntryContactsRequest.Builder
Overrides