Class DeleteEntryGroupRequest.Builder (1.30.0)

public static final class DeleteEntryGroupRequest.Builder extends GeneratedMessageV3.Builder<DeleteEntryGroupRequest.Builder> implements DeleteEntryGroupRequestOrBuilder

Request message for DeleteEntryGroup.

Protobuf type google.cloud.datacatalog.v1beta1.DeleteEntryGroupRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteEntryGroupRequest build()
Returns
TypeDescription
DeleteEntryGroupRequest

buildPartial()

public DeleteEntryGroupRequest buildPartial()
Returns
TypeDescription
DeleteEntryGroupRequest

clear()

public DeleteEntryGroupRequest.Builder clear()
Returns
TypeDescription
DeleteEntryGroupRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteEntryGroupRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteEntryGroupRequest.Builder
Overrides

clearForce()

public DeleteEntryGroupRequest.Builder clearForce()

Optional. If true, deletes all entries in the entry group.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
DeleteEntryGroupRequest.Builder

This builder for chaining.

clearName()

public DeleteEntryGroupRequest.Builder clearName()

Required. The name of the entry group. For example, projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}.

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

Returns
TypeDescription
DeleteEntryGroupRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public DeleteEntryGroupRequest.Builder clone()
Returns
TypeDescription
DeleteEntryGroupRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteEntryGroupRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteEntryGroupRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getForce()

public boolean getForce()

Optional. If true, deletes all entries in the entry group.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The force.

getName()

public String getName()

Required. The name of the entry group. For example, projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the entry group. For example, projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteEntryGroupRequest other)

public DeleteEntryGroupRequest.Builder mergeFrom(DeleteEntryGroupRequest other)
Parameter
NameDescription
otherDeleteEntryGroupRequest
Returns
TypeDescription
DeleteEntryGroupRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteEntryGroupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteEntryGroupRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setForce(boolean value)

public DeleteEntryGroupRequest.Builder setForce(boolean value)

Optional. If true, deletes all entries in the entry group.

bool force = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The force to set.

Returns
TypeDescription
DeleteEntryGroupRequest.Builder

This builder for chaining.

setName(String value)

public DeleteEntryGroupRequest.Builder setName(String value)

Required. The name of the entry group. For example, projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteEntryGroupRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteEntryGroupRequest.Builder setNameBytes(ByteString value)

Required. The name of the entry group. For example, projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteEntryGroupRequest.Builder

This builder for chaining.

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

public DeleteEntryGroupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteEntryGroupRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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