Class DeleteLakeRequest.Builder (1.25.0)

public static final class DeleteLakeRequest.Builder extends GeneratedMessageV3.Builder<DeleteLakeRequest.Builder> implements DeleteLakeRequestOrBuilder

Delete lake request.

Protobuf type google.cloud.dataplex.v1.DeleteLakeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteLakeRequest build()
Returns
TypeDescription
DeleteLakeRequest

buildPartial()

public DeleteLakeRequest buildPartial()
Returns
TypeDescription
DeleteLakeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public DeleteLakeRequest.Builder clearName()

Required. The resource name of the lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

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

Returns
TypeDescription
DeleteLakeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteLakeRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteLakeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the lake: projects/{project_number}/locations/{location_id}/lakes/{lake_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(DeleteLakeRequest other)

public DeleteLakeRequest.Builder mergeFrom(DeleteLakeRequest other)
Parameter
NameDescription
otherDeleteLakeRequest
Returns
TypeDescription
DeleteLakeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public DeleteLakeRequest.Builder setName(String value)

Required. The resource name of the lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteLakeRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteLakeRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the lake: projects/{project_number}/locations/{location_id}/lakes/{lake_id}.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteLakeRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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