Class UpdateLakeRequest.Builder (1.16.0)

public static final class UpdateLakeRequest.Builder extends GeneratedMessageV3.Builder<UpdateLakeRequest.Builder> implements UpdateLakeRequestOrBuilder

Update lake request.

Protobuf type google.cloud.dataplex.v1.UpdateLakeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateLakeRequest build()
Returns
TypeDescription
UpdateLakeRequest

buildPartial()

public UpdateLakeRequest buildPartial()
Returns
TypeDescription
UpdateLakeRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearLake()

public UpdateLakeRequest.Builder clearLake()

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateLakeRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateLakeRequest.Builder clearUpdateMask()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateLakeRequest.Builder

clearValidateOnly()

public UpdateLakeRequest.Builder clearValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
UpdateLakeRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateLakeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateLakeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLake()

public Lake getLake()

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Lake

The lake.

getLakeBuilder()

public Lake.Builder getLakeBuilder()

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Lake.Builder

getLakeOrBuilder()

public LakeOrBuilder getLakeOrBuilder()

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
LakeOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The validateOnly.

hasLake()

public boolean hasLake()

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the lake field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateLakeRequest other)

public UpdateLakeRequest.Builder mergeFrom(UpdateLakeRequest other)
Parameter
NameDescription
otherUpdateLakeRequest
Returns
TypeDescription
UpdateLakeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLake(Lake value)

public UpdateLakeRequest.Builder mergeLake(Lake value)

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueLake
Returns
TypeDescription
UpdateLakeRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateLakeRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateLakeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setLake(Lake value)

public UpdateLakeRequest.Builder setLake(Lake value)

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueLake
Returns
TypeDescription
UpdateLakeRequest.Builder

setLake(Lake.Builder builderForValue)

public UpdateLakeRequest.Builder setLake(Lake.Builder builderForValue)

Required. Update description. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.Lake lake = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueLake.Builder
Returns
TypeDescription
UpdateLakeRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateLakeRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateLakeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateLakeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateLakeRequest.Builder

setValidateOnly(boolean value)

public UpdateLakeRequest.Builder setValidateOnly(boolean value)

Optional. Only validate the request, but do not perform mutations. The default is false.

bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateLakeRequest.Builder

This builder for chaining.