public static final class UpdateDataAssetRequest.Builder extends GeneratedMessage.Builder<UpdateDataAssetRequest.Builder> implements UpdateDataAssetRequestOrBuilderRequest message for updating a data asset.
Protobuf type google.cloud.dataplex.v1.UpdateDataAssetRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateDataAssetRequest.BuilderImplements
UpdateDataAssetRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateDataAssetRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest |
|
buildPartial()
public UpdateDataAssetRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest |
|
clear()
public UpdateDataAssetRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
clearDataAsset()
public UpdateDataAssetRequest.Builder clearDataAsset() Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
clearUpdateMask()
public UpdateDataAssetRequest.Builder clearUpdateMask()Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
clearValidateOnly()
public UpdateDataAssetRequest.Builder clearValidateOnly()Optional. Validates the request without actually updating the data asset. Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
This builder for chaining. |
getDataAsset()
public DataAsset getDataAsset() Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataAsset |
The dataAsset. |
getDataAssetBuilder()
public DataAsset.Builder getDataAssetBuilder() Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataAsset.Builder |
|
getDataAssetOrBuilder()
public DataAssetOrBuilder getDataAssetOrBuilder() Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
DataAssetOrBuilder |
|
getDefaultInstanceForType()
public UpdateDataAssetRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
getValidateOnly()
public boolean getValidateOnly()Optional. Validates the request without actually updating the data asset. Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The validateOnly. |
hasDataAsset()
public boolean hasDataAsset() Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataAsset field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDataAsset(DataAsset value)
public UpdateDataAssetRequest.Builder mergeDataAsset(DataAsset value) Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataAsset |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
mergeFrom(UpdateDataAssetRequest other)
public UpdateDataAssetRequest.Builder mergeFrom(UpdateDataAssetRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateDataAssetRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateDataAssetRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateDataAssetRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateDataAssetRequest.Builder mergeUpdateMask(FieldMask value)Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
setDataAsset(DataAsset value)
public UpdateDataAssetRequest.Builder setDataAsset(DataAsset value) Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
DataAsset |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
setDataAsset(DataAsset.Builder builderForValue)
public UpdateDataAssetRequest.Builder setDataAsset(DataAsset.Builder builderForValue) Required. The data asset to update.
The data asset's name field is used to identify the data asset to update.
.google.cloud.dataplex.v1.DataAsset data_asset = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataAsset.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateDataAssetRequest.Builder setUpdateMask(FieldMask value)Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDataAssetRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. The list of fields to update. If this is empty or not set, then all the fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
|
setValidateOnly(boolean value)
public UpdateDataAssetRequest.Builder setValidateOnly(boolean value)Optional. Validates the request without actually updating the data asset. Defaults to false.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe validateOnly to set. |
| Returns | |
|---|---|
| Type | Description |
UpdateDataAssetRequest.Builder |
This builder for chaining. |