Class UpdateDeidentifyTemplateRequest.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<UpdateDeidentifyTemplateRequest.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<UpdateDeidentifyTemplateRequest.Builder>
      • getDefaultInstanceForType

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

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

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

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

        public String getName()
         Required. Resource name of organization and deidentify template to be updated, for
         example `organizations/433245324/deidentifyTemplates/432452342` or
         projects/project-id/deidentifyTemplates/432452342.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface UpdateDeidentifyTemplateRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. Resource name of organization and deidentify template to be updated, for
         example `organizations/433245324/deidentifyTemplates/432452342` or
         projects/project-id/deidentifyTemplates/432452342.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface UpdateDeidentifyTemplateRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public UpdateDeidentifyTemplateRequest.Builder setName​(String value)
         Required. Resource name of organization and deidentify template to be updated, for
         example `organizations/433245324/deidentifyTemplates/432452342` or
         projects/project-id/deidentifyTemplates/432452342.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public UpdateDeidentifyTemplateRequest.Builder clearName()
         Required. Resource name of organization and deidentify template to be updated, for
         example `organizations/433245324/deidentifyTemplates/432452342` or
         projects/project-id/deidentifyTemplates/432452342.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public UpdateDeidentifyTemplateRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. Resource name of organization and deidentify template to be updated, for
         example `organizations/433245324/deidentifyTemplates/432452342` or
         projects/project-id/deidentifyTemplates/432452342.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • hasDeidentifyTemplate

        public boolean hasDeidentifyTemplate()
         New DeidentifyTemplate value.
         
        .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
        Specified by:
        hasDeidentifyTemplate in interface UpdateDeidentifyTemplateRequestOrBuilder
        Returns:
        Whether the deidentifyTemplate field is set.
      • clearDeidentifyTemplate

        public UpdateDeidentifyTemplateRequest.Builder clearDeidentifyTemplate()
         New DeidentifyTemplate value.
         
        .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
      • getDeidentifyTemplateBuilder

        public DeidentifyTemplate.Builder getDeidentifyTemplateBuilder()
         New DeidentifyTemplate value.
         
        .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
      • getUpdateMask

        public com.google.protobuf.FieldMask getUpdateMask()
         Mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 3;
        Specified by:
        getUpdateMask in interface UpdateDeidentifyTemplateRequestOrBuilder
        Returns:
        The updateMask.
      • setUpdateMask

        public UpdateDeidentifyTemplateRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask value)
         Mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • setUpdateMask

        public UpdateDeidentifyTemplateRequest.Builder setUpdateMask​(com.google.protobuf.FieldMask.Builder builderForValue)
         Mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • mergeUpdateMask

        public UpdateDeidentifyTemplateRequest.Builder mergeUpdateMask​(com.google.protobuf.FieldMask value)
         Mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 3;
      • getUpdateMaskBuilder

        public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
         Mask to control which fields get updated.
         
        .google.protobuf.FieldMask update_mask = 3;