Class UpdateEncryptionConfigRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateEncryptionConfigRequest.Builder>
com.google.cloud.dataplex.v1.UpdateEncryptionConfigRequest.Builder
All Implemented Interfaces:
UpdateEncryptionConfigRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateEncryptionConfigRequest

public static final class UpdateEncryptionConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateEncryptionConfigRequest.Builder> implements UpdateEncryptionConfigRequestOrBuilder
 Update EncryptionConfig Request
 
Protobuf type google.cloud.dataplex.v1.UpdateEncryptionConfigRequest
  • 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<UpdateEncryptionConfigRequest.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<UpdateEncryptionConfigRequest.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<UpdateEncryptionConfigRequest.Builder>
    • getDefaultInstanceForType

      public UpdateEncryptionConfigRequest 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 UpdateEncryptionConfigRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UpdateEncryptionConfigRequest.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<UpdateEncryptionConfigRequest.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<UpdateEncryptionConfigRequest.Builder>
    • mergeFrom

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

      public boolean hasEncryptionConfig()
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasEncryptionConfig in interface UpdateEncryptionConfigRequestOrBuilder
      Returns:
      Whether the encryptionConfig field is set.
    • getEncryptionConfig

      public EncryptionConfig getEncryptionConfig()
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEncryptionConfig in interface UpdateEncryptionConfigRequestOrBuilder
      Returns:
      The encryptionConfig.
    • setEncryptionConfig

      public UpdateEncryptionConfigRequest.Builder setEncryptionConfig(EncryptionConfig value)
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • setEncryptionConfig

      public UpdateEncryptionConfigRequest.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeEncryptionConfig

      public UpdateEncryptionConfigRequest.Builder mergeEncryptionConfig(EncryptionConfig value)
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearEncryptionConfig

      public UpdateEncryptionConfigRequest.Builder clearEncryptionConfig()
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • getEncryptionConfigBuilder

      public EncryptionConfig.Builder getEncryptionConfigBuilder()
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
    • getEncryptionConfigOrBuilder

      public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
       Required. The EncryptionConfig to update.
       
      .google.cloud.dataplex.v1.EncryptionConfig encryption_config = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getEncryptionConfigOrBuilder in interface UpdateEncryptionConfigRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateEncryptionConfigRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateEncryptionConfigRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateEncryptionConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateEncryptionConfigRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateEncryptionConfigRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateEncryptionConfigRequest.Builder clearUpdateMask()
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Mask of fields to update.
       The service treats an omitted field mask as an implied field mask
       equivalent to all fields that are populated (have a non-empty value).
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateEncryptionConfigRequestOrBuilder