Class UpdateAspectTypeRequest.Builder (1.49.0)

public static final class UpdateAspectTypeRequest.Builder extends GeneratedMessageV3.Builder<UpdateAspectTypeRequest.Builder> implements UpdateAspectTypeRequestOrBuilder

Update AspectType Request

Protobuf type google.cloud.dataplex.v1.UpdateAspectTypeRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAspectTypeRequest build()
Returns
Type Description
UpdateAspectTypeRequest

buildPartial()

public UpdateAspectTypeRequest buildPartial()
Returns
Type Description
UpdateAspectTypeRequest

clear()

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

clearAspectType()

public UpdateAspectTypeRequest.Builder clearAspectType()

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAspectTypeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAspectTypeRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAspectTypeRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateAspectTypeRequest.Builder clearUpdateMask()

Required. Mask of fields to update.

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

Returns
Type Description
UpdateAspectTypeRequest.Builder

clearValidateOnly()

public UpdateAspectTypeRequest.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
Type Description
UpdateAspectTypeRequest.Builder

This builder for chaining.

clone()

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

getAspectType()

public AspectType getAspectType()

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AspectType

The aspectType.

getAspectTypeBuilder()

public AspectType.Builder getAspectTypeBuilder()

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AspectType.Builder

getAspectTypeOrBuilder()

public AspectTypeOrBuilder getAspectTypeOrBuilder()

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AspectTypeOrBuilder

getDefaultInstanceForType()

public UpdateAspectTypeRequest getDefaultInstanceForType()
Returns
Type Description
UpdateAspectTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update.

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

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Mask of fields to update.

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

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update.

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

Returns
Type Description
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
Type Description
boolean

The validateOnly.

hasAspectType()

public boolean hasAspectType()

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the aspectType field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Mask of fields to update.

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

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAspectType(AspectType value)

public UpdateAspectTypeRequest.Builder mergeAspectType(AspectType value)

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AspectType
Returns
Type Description
UpdateAspectTypeRequest.Builder

mergeFrom(UpdateAspectTypeRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateAspectTypeRequest.Builder mergeUpdateMask(FieldMask value)

Required. Mask of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAspectTypeRequest.Builder

setAspectType(AspectType value)

public UpdateAspectTypeRequest.Builder setAspectType(AspectType value)

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AspectType
Returns
Type Description
UpdateAspectTypeRequest.Builder

setAspectType(AspectType.Builder builderForValue)

public UpdateAspectTypeRequest.Builder setAspectType(AspectType.Builder builderForValue)

Required. AspectType Resource

.google.cloud.dataplex.v1.AspectType aspect_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue AspectType.Builder
Returns
Type Description
UpdateAspectTypeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateAspectTypeRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateAspectTypeRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateAspectTypeRequest.Builder setUpdateMask(FieldMask value)

Required. Mask of fields to update.

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

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAspectTypeRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAspectTypeRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Mask of fields to update.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAspectTypeRequest.Builder

setValidateOnly(boolean value)

public UpdateAspectTypeRequest.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
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
UpdateAspectTypeRequest.Builder

This builder for chaining.