Class UpdateDataAttributeRequest.Builder (1.35.0)

public static final class UpdateDataAttributeRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataAttributeRequest.Builder> implements UpdateDataAttributeRequestOrBuilder

Update DataAttribute request.

Protobuf type google.cloud.dataplex.v1.UpdateDataAttributeRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateDataAttributeRequest build()
Returns
TypeDescription
UpdateDataAttributeRequest

buildPartial()

public UpdateDataAttributeRequest buildPartial()
Returns
TypeDescription
UpdateDataAttributeRequest

clear()

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

clearDataAttribute()

public UpdateDataAttributeRequest.Builder clearDataAttribute()

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateDataAttributeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateDataAttributeRequest.Builder clearUpdateMask()

Required. Mask of fields to update.

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

Returns
TypeDescription
UpdateDataAttributeRequest.Builder

clearValidateOnly()

public UpdateDataAttributeRequest.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
UpdateDataAttributeRequest.Builder

This builder for chaining.

clone()

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

getDataAttribute()

public DataAttribute getDataAttribute()

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataAttribute

The dataAttribute.

getDataAttributeBuilder()

public DataAttribute.Builder getDataAttributeBuilder()

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataAttribute.Builder

getDataAttributeOrBuilder()

public DataAttributeOrBuilder getDataAttributeOrBuilder()

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DataAttributeOrBuilder

getDefaultInstanceForType()

public UpdateDataAttributeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateDataAttributeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

hasDataAttribute()

public boolean hasDataAttribute()

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the dataAttribute 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

mergeDataAttribute(DataAttribute value)

public UpdateDataAttributeRequest.Builder mergeDataAttribute(DataAttribute value)

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataAttribute
Returns
TypeDescription
UpdateDataAttributeRequest.Builder

mergeFrom(UpdateDataAttributeRequest other)

public UpdateDataAttributeRequest.Builder mergeFrom(UpdateDataAttributeRequest other)
Parameter
NameDescription
otherUpdateDataAttributeRequest
Returns
TypeDescription
UpdateDataAttributeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateDataAttributeRequest.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
UpdateDataAttributeRequest.Builder

setDataAttribute(DataAttribute value)

public UpdateDataAttributeRequest.Builder setDataAttribute(DataAttribute value)

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueDataAttribute
Returns
TypeDescription
UpdateDataAttributeRequest.Builder

setDataAttribute(DataAttribute.Builder builderForValue)

public UpdateDataAttributeRequest.Builder setDataAttribute(DataAttribute.Builder builderForValue)

Required. Only fields specified in update_mask are updated.

.google.cloud.dataplex.v1.DataAttribute data_attribute = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueDataAttribute.Builder
Returns
TypeDescription
UpdateDataAttributeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateDataAttributeRequest.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
UpdateDataAttributeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateDataAttributeRequest.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
UpdateDataAttributeRequest.Builder

setValidateOnly(boolean value)

public UpdateDataAttributeRequest.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
UpdateDataAttributeRequest.Builder

This builder for chaining.