Class UpdateEntityRequest.Builder (1.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateEntityRequest build()
Returns
TypeDescription
UpdateEntityRequest

buildPartial()

public UpdateEntityRequest buildPartial()
Returns
TypeDescription
UpdateEntityRequest

clear()

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

clearEntity()

public UpdateEntityRequest.Builder clearEntity()

Required. Update description.

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

Returns
TypeDescription
UpdateEntityRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public UpdateEntityRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateEntityRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntity()

public Entity getEntity()

Required. Update description.

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

Returns
TypeDescription
Entity

The entity.

getEntityBuilder()

public Entity.Builder getEntityBuilder()

Required. Update description.

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

Returns
TypeDescription
Entity.Builder

getEntityOrBuilder()

public EntityOrBuilder getEntityOrBuilder()

Required. Update description.

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

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

The validateOnly.

hasEntity()

public boolean hasEntity()

Required. Update description.

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

Returns
TypeDescription
boolean

Whether the entity field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEntity
Returns
TypeDescription
UpdateEntityRequest.Builder

mergeFrom(UpdateEntityRequest other)

public UpdateEntityRequest.Builder mergeFrom(UpdateEntityRequest other)
Parameter
NameDescription
otherUpdateEntityRequest
Returns
TypeDescription
UpdateEntityRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateEntityRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEntity
Returns
TypeDescription
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
NameDescription
builderForValueEntity.Builder
Returns
TypeDescription
UpdateEntityRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The validateOnly to set.

Returns
TypeDescription
UpdateEntityRequest.Builder

This builder for chaining.