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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateEntityRequest build()
Returns
buildPartial()
public UpdateEntityRequest buildPartial()
Returns
clear()
public UpdateEntityRequest.Builder clear()
Returns
Overrides
clearEntity()
public UpdateEntityRequest.Builder clearEntity()
Required. Update description.
.google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateEntityRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateEntityRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateEntityRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateEntityRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
getEntityOrBuilder()
public EntityOrBuilder getEntityOrBuilder()
Required. Update description.
.google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateEntityRequest other)
public UpdateEntityRequest.Builder mergeFrom(UpdateEntityRequest other)
Parameter
Returns
public UpdateEntityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateEntityRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateEntityRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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