Send feedback
Class UpdateEntityRequest.Builder (1.25.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.25.0 keyboard_arrow_down
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.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]