Class UpdateAspectTypeRequest.Builder (1.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateAspectTypeRequest build()
Returns
TypeDescription
UpdateAspectTypeRequest

buildPartial()

public UpdateAspectTypeRequest buildPartial()
Returns
TypeDescription
UpdateAspectTypeRequest

clear()

public UpdateAspectTypeRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateAspectTypeRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAspectTypeRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateAspectTypeRequest.Builder

This builder for chaining.

clone()

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

getAspectType()

public AspectType getAspectType()

Required. AspectType Resource

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

Returns
TypeDescription
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
TypeDescription
AspectType.Builder

getAspectTypeOrBuilder()

public AspectTypeOrBuilder getAspectTypeOrBuilder()

Required. AspectType Resource

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

Returns
TypeDescription
AspectTypeOrBuilder

getDefaultInstanceForType()

public UpdateAspectTypeRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateAspectTypeRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.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 = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Mask of fields to update.

.google.protobuf.FieldMask update_mask = 2 [(.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.

hasAspectType()

public boolean hasAspectType()

Required. AspectType Resource

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

Returns
TypeDescription
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
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

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
NameDescription
valueAspectType
Returns
TypeDescription
UpdateAspectTypeRequest.Builder

mergeFrom(UpdateAspectTypeRequest other)

public UpdateAspectTypeRequest.Builder mergeFrom(UpdateAspectTypeRequest other)
Parameter
NameDescription
otherUpdateAspectTypeRequest
Returns
TypeDescription
UpdateAspectTypeRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAspectTypeRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueAspectType
Returns
TypeDescription
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
NameDescription
builderForValueAspectType.Builder
Returns
TypeDescription
UpdateAspectTypeRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAspectTypeRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
UpdateAspectTypeRequest.Builder

This builder for chaining.