Class UpdateEntityRequest.Builder (1.41.0)

public static final class UpdateEntityRequest.Builder extends GeneratedMessageV3.Builder<UpdateEntityRequest.Builder> implements UpdateEntityRequestOrBuilder

Update a metadata entity request. The exiting entity will be fully replaced by the entity in the request. The entity ID is mutable. To modify the ID, use the current entity ID in the request URL and specify the new ID in the request body.

Protobuf type google.cloud.dataplex.v1.UpdateEntityRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEntityRequest build()
Returns
Type Description
UpdateEntityRequest

buildPartial()

public UpdateEntityRequest buildPartial()
Returns
Type Description
UpdateEntityRequest

clear()

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

clearEntity()

public UpdateEntityRequest.Builder clearEntity()

Required. Update description.

.google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateEntityRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValidateOnly()

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()