Class GenerateAutonomousDatabaseWalletRequest.Builder

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

public static final class GenerateAutonomousDatabaseWalletRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<GenerateAutonomousDatabaseWalletRequest.Builder> implements GenerateAutonomousDatabaseWalletRequestOrBuilder
 The request for `AutonomousDatabase.GenerateWallet`.
 
Protobuf type google.cloud.oracledatabase.v1.GenerateAutonomousDatabaseWalletRequest
  • 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<GenerateAutonomousDatabaseWalletRequest.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<GenerateAutonomousDatabaseWalletRequest.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<GenerateAutonomousDatabaseWalletRequest.Builder>
    • getDefaultInstanceForType

      public GenerateAutonomousDatabaseWalletRequest 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

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public String getName()
       Required. The name of the Autonomous Database in the following format:
       projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getName in interface GenerateAutonomousDatabaseWalletRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The name of the Autonomous Database in the following format:
       projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getNameBytes in interface GenerateAutonomousDatabaseWalletRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

       Required. The name of the Autonomous Database in the following format:
       projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
       
      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. The name of the Autonomous Database in the following format:
       projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setNameBytes

      public GenerateAutonomousDatabaseWalletRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The name of the Autonomous Database in the following format:
       projects/{project}/locations/{location}/autonomousDatabases/{autonomous_database}.
       
      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.
    • getTypeValue

      public int getTypeValue()
       Optional. The type of wallet generation for the Autonomous Database. The
       default value is SINGLE.
       
      .google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTypeValue in interface GenerateAutonomousDatabaseWalletRequestOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public GenerateAutonomousDatabaseWalletRequest.Builder setTypeValue(int value)
       Optional. The type of wallet generation for the Autonomous Database. The
       default value is SINGLE.
       
      .google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public GenerateType getType()
       Optional. The type of wallet generation for the Autonomous Database. The
       default value is SINGLE.
       
      .google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getType in interface GenerateAutonomousDatabaseWalletRequestOrBuilder
      Returns:
      The type.
    • setType

       Optional. The type of wallet generation for the Autonomous Database. The
       default value is SINGLE.
       
      .google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Optional. The type of wallet generation for the Autonomous Database. The
       default value is SINGLE.
       
      .google.cloud.oracledatabase.v1.GenerateType type = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getIsRegional

      public boolean getIsRegional()
       Optional. True when requesting regional connection strings in PDB connect
       info, applicable to cross-region Data Guard only.
       
      bool is_regional = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIsRegional in interface GenerateAutonomousDatabaseWalletRequestOrBuilder
      Returns:
      The isRegional.
    • setIsRegional

      public GenerateAutonomousDatabaseWalletRequest.Builder setIsRegional(boolean value)
       Optional. True when requesting regional connection strings in PDB connect
       info, applicable to cross-region Data Guard only.
       
      bool is_regional = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The isRegional to set.
      Returns:
      This builder for chaining.
    • clearIsRegional

       Optional. True when requesting regional connection strings in PDB connect
       info, applicable to cross-region Data Guard only.
       
      bool is_regional = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getPassword

      public String getPassword()
       Required. The password used to encrypt the keys inside the wallet. The
       password must be a minimum of 8 characters.
       
      string password = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPassword in interface GenerateAutonomousDatabaseWalletRequestOrBuilder
      Returns:
      The password.
    • getPasswordBytes

      public com.google.protobuf.ByteString getPasswordBytes()
       Required. The password used to encrypt the keys inside the wallet. The
       password must be a minimum of 8 characters.
       
      string password = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPasswordBytes in interface GenerateAutonomousDatabaseWalletRequestOrBuilder
      Returns:
      The bytes for password.
    • setPassword

       Required. The password used to encrypt the keys inside the wallet. The
       password must be a minimum of 8 characters.
       
      string password = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The password to set.
      Returns:
      This builder for chaining.
    • clearPassword

       Required. The password used to encrypt the keys inside the wallet. The
       password must be a minimum of 8 characters.
       
      string password = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setPasswordBytes

      public GenerateAutonomousDatabaseWalletRequest.Builder setPasswordBytes(com.google.protobuf.ByteString value)
       Required. The password used to encrypt the keys inside the wallet. The
       password must be a minimum of 8 characters.
       
      string password = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for password to set.
      Returns:
      This builder for chaining.