Interface UpdateDataPolicyRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateDataPolicyRequest,UpdateDataPolicyRequest.Builder
@Generated
public interface UpdateDataPolicyRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.com.google.protobuf.FieldMaskThe update mask applies to the resource.com.google.protobuf.FieldMaskOrBuilderThe update mask applies to the resource.booleanRequired.booleanThe update mask applies to the resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDataPolicy
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:
- Whether the dataPolicy field is set.
-
getDataPolicy
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:
- The dataPolicy.
-
getDataPolicyOrBuilder
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]; -
hasUpdateMask
boolean hasUpdateMask()The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.
.google.protobuf.FieldMask update_mask = 2;- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.
.google.protobuf.FieldMask update_mask = 2;- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()The update mask applies to the resource. For the `FieldMask` definition, see https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask If not set, defaults to all of the fields that are allowed to update. Updates to the `name` and `dataPolicyId` fields are not allowed.
.google.protobuf.FieldMask update_mask = 2;
-