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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateEntityRequest build()
buildPartial()
public UpdateEntityRequest buildPartial()
clear()
public UpdateEntityRequest.Builder clear()
Overrides
clearEntity()
public UpdateEntityRequest.Builder clearEntity()
Required. Update description.
.google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateEntityRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateEntityRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateEntityRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateEntityRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getEntityOrBuilder()
public EntityOrBuilder getEntityOrBuilder()
Required. Update description.
.google.cloud.dataplex.v1.Entity entity = 2 [(.google.api.field_behavior) = REQUIRED];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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
|
mergeFrom(UpdateEntityRequest other)
public UpdateEntityRequest.Builder mergeFrom(UpdateEntityRequest other)
public UpdateEntityRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateEntityRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateEntityRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateEntityRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateEntityRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|