Class DeleteLakeRequest.Builder (1.51.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeleteLakeRequest build()
Returns
Type Description
DeleteLakeRequest

buildPartial()

public DeleteLakeRequest buildPartial()
Returns
Type Description
DeleteLakeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DeleteLakeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
DeleteLakeRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public DeleteLakeRequest getDefaultInstanceForType()
Returns
Type Description
DeleteLakeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteLakeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteLakeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeleteLakeRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteLakeRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeleteLakeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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