public static final class UpdateDataPolicyRequest.Builder extends GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder> implements UpdateDataPolicyRequestOrBuilder
Response message for the UpdateDataPolicy method.
Protobuf type google.cloud.bigquery.datapolicies.v1.UpdateDataPolicyRequest
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateDataPolicyRequest build()
Returns
buildPartial()
public UpdateDataPolicyRequest buildPartial()
Returns
clear()
public UpdateDataPolicyRequest.Builder clear()
Returns
Overrides
clearDataPolicy()
public UpdateDataPolicyRequest.Builder clearDataPolicy()
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateDataPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDataPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateDataPolicyRequest.Builder clearUpdateMask()
Returns
clone()
public UpdateDataPolicyRequest.Builder clone()
Returns
Overrides
getDataPolicy()
public DataPolicy getDataPolicy()
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDataPolicyBuilder()
public DataPolicy.Builder getDataPolicyBuilder()
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDataPolicyOrBuilder()
public DataPolicyOrBuilder getDataPolicyOrBuilder()
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public UpdateDataPolicyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Returns
hasDataPolicy()
public boolean hasDataPolicy()
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the dataPolicy field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDataPolicy(DataPolicy value)
public UpdateDataPolicyRequest.Builder mergeDataPolicy(DataPolicy value)
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateDataPolicyRequest other)
public UpdateDataPolicyRequest.Builder mergeFrom(UpdateDataPolicyRequest other)
Parameter
Returns
public UpdateDataPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateDataPolicyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDataPolicyRequest.Builder mergeUpdateMask(FieldMask value)
Parameter
Returns
setDataPolicy(DataPolicy value)
public UpdateDataPolicyRequest.Builder setDataPolicy(DataPolicy value)
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDataPolicy(DataPolicy.Builder builderForValue)
public UpdateDataPolicyRequest.Builder setDataPolicy(DataPolicy.Builder builderForValue)
Required. Update the data policy's metadata.
The target data policy is determined by the name
field.
Other fields are updated to the specified values based on the field masks.
.google.cloud.bigquery.datapolicies.v1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDataPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateDataPolicyRequest.Builder setUpdateMask(FieldMask value)
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDataPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter
Name | Description |
builderForValue | Builder
|
Returns