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.v1beta1.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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataPolicyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDataPolicyRequest build()
buildPartial()
public UpdateDataPolicyRequest buildPartial()
clear()
public UpdateDataPolicyRequest.Builder clear()
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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateDataPolicyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDataPolicyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearUpdateMask()
public UpdateDataPolicyRequest.Builder clearUpdateMask()
clone()
public UpdateDataPolicyRequest.Builder clone()
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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateDataPolicyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getUpdateMask()
public FieldMask getUpdateMask()
Returns |
---|
Type | Description |
FieldMask | The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
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.v1beta1.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()
Overrides
isInitialized()
public final boolean isInitialized()
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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(UpdateDataPolicyRequest other)
public UpdateDataPolicyRequest.Builder mergeFrom(UpdateDataPolicyRequest other)
public UpdateDataPolicyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDataPolicyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataPolicyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDataPolicyRequest.Builder mergeUpdateMask(FieldMask value)
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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1beta1.DataPolicy data_policy = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDataPolicyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDataPolicyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDataPolicyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateDataPolicyRequest.Builder setUpdateMask(FieldMask value)
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDataPolicyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Parameter |
---|
Name | Description |
builderForValue | Builder
|