Class UpdateDataPolicyRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • clear

        public UpdateDataPolicyRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • getDefaultInstanceForType

        public UpdateDataPolicyRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UpdateDataPolicyRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UpdateDataPolicyRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UpdateDataPolicyRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • clearField

        public UpdateDataPolicyRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • clearOneof

        public UpdateDataPolicyRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • setRepeatedField

        public UpdateDataPolicyRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                int index,
                                                                Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • addRepeatedField

        public UpdateDataPolicyRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • mergeFrom

        public UpdateDataPolicyRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                  throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateDataPolicyRequest.Builder>
        Throws:
        IOException
      • 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];
        Specified by:
        hasDataPolicy in interface UpdateDataPolicyRequestOrBuilder
        Returns:
        Whether the dataPolicy field is set.
      • 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];
        Specified by:
        getDataPolicy in interface UpdateDataPolicyRequestOrBuilder
        Returns:
        The dataPolicy.
      • setDataPolicy

        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];
      • setDataPolicy

        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];
      • mergeDataPolicy

        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];
      • 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];
      • 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];
      • 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];
        Specified by:
        getDataPolicyOrBuilder in interface UpdateDataPolicyRequestOrBuilder
      • hasUpdateMask

        public 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;
        Specified by:
        hasUpdateMask in interface UpdateDataPolicyRequestOrBuilder
        Returns:
        Whether the updateMask field is set.
      • getUpdateMask

        public 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;
        Specified by:
        getUpdateMask in interface UpdateDataPolicyRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateDataPolicyRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         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;
      • setUpdateMask

        public UpdateDataPolicyRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         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;
      • mergeUpdateMask

        public UpdateDataPolicyRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         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;
      • clearUpdateMask

        public UpdateDataPolicyRequest.Builder clearUpdateMask()
         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;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         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;
      • getUpdateMaskOrBuilder

        public 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;
        Specified by:
        getUpdateMaskOrBuilder in interface UpdateDataPolicyRequestOrBuilder
      • setUnknownFields

        public final UpdateDataPolicyRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>
      • mergeUnknownFields

        public final UpdateDataPolicyRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UpdateDataPolicyRequest.Builder>