Class UpdateDeidentifyTemplateRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateDeidentifyTemplateRequest.Builder>
com.google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest.Builder
All Implemented Interfaces:
UpdateDeidentifyTemplateRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateDeidentifyTemplateRequest

public static final class UpdateDeidentifyTemplateRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateDeidentifyTemplateRequest.Builder> implements UpdateDeidentifyTemplateRequestOrBuilder
 Request message for UpdateDeidentifyTemplate.
 
Protobuf type google.privacy.dlp.v2.UpdateDeidentifyTemplateRequest
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UpdateDeidentifyTemplateRequest.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.GeneratedMessage.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.GeneratedMessage.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

      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
    • mergeFrom

      public UpdateDeidentifyTemplateRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UpdateDeidentifyTemplateRequest.Builder>
    • mergeFrom

    • isInitialized

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

      public UpdateDeidentifyTemplateRequest.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<UpdateDeidentifyTemplateRequest.Builder>
      Throws:
      IOException
    • 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

       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

       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.
    • getDeidentifyTemplate

      public DeidentifyTemplate getDeidentifyTemplate()
       New DeidentifyTemplate value.
       
      .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
      Specified by:
      getDeidentifyTemplate in interface UpdateDeidentifyTemplateRequestOrBuilder
      Returns:
      The deidentifyTemplate.
    • setDeidentifyTemplate

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

      public UpdateDeidentifyTemplateRequest.Builder setDeidentifyTemplate(DeidentifyTemplate.Builder builderForValue)
       New DeidentifyTemplate value.
       
      .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
    • mergeDeidentifyTemplate

      public UpdateDeidentifyTemplateRequest.Builder mergeDeidentifyTemplate(DeidentifyTemplate value)
       New DeidentifyTemplate value.
       
      .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
    • 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;
    • getDeidentifyTemplateOrBuilder

      public DeidentifyTemplateOrBuilder getDeidentifyTemplateOrBuilder()
       New DeidentifyTemplate value.
       
      .google.privacy.dlp.v2.DeidentifyTemplate deidentify_template = 2;
      Specified by:
      getDeidentifyTemplateOrBuilder in interface UpdateDeidentifyTemplateRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Mask to control which fields get updated.
       
      .google.protobuf.FieldMask update_mask = 3;
      Specified by:
      hasUpdateMask in interface UpdateDeidentifyTemplateRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • 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;
    • clearUpdateMask

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

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Mask to control which fields get updated.
       
      .google.protobuf.FieldMask update_mask = 3;
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateDeidentifyTemplateRequestOrBuilder