Class UpdateEntityRequest.Builder (1.44.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()

public UpdateEntityRequest getDefaultInstanceForType()
Returns
Type Description
UpdateEntityRequest

getDescriptorForType()

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

getEntity()

public Entity getEntity()

Required. Update description.

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

Returns
Type Description
Entity

The entity.

getEntityBuilder()

public Entity.Builder getEntityBuilder()

Required. Update description.

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

Returns
Type Description
Entity.Builder

getEntityOrBuilder()

public EntityOrBuilder getEntityOrBuilder()

Required. Update description.

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

Returns
Type Description
EntityOrBuilder

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.

hasEntity()

public boolean hasEntity()

Required. Update description.

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

Returns
Type Description
boolean

Whether the entity field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEntity(Entity value)

public UpdateEntityRequest.Builder mergeEntity(Entity value)

Required. Update description.

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

Parameter
Name Description
value Entity
Returns
Type Description
UpdateEntityRequest.Builder

mergeFrom(UpdateEntityRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEntity(Entity value)

public UpdateEntityRequest.Builder setEntity(Entity value)

Required. Update description.

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

Parameter
Name Description
value Entity
Returns
Type Description
UpdateEntityRequest.Builder

setEntity(Entity.Builder builderForValue)

public UpdateEntityRequest.Builder setEntity(Entity.Builder builderForValue)

Required. Update description.

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

Parameter
Name Description
builderForValue Entity.Builder
Returns
Type Description
UpdateEntityRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

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

This builder for chaining.