Class CreateExascaleDbStorageVaultRequest.Builder

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

public static final class CreateExascaleDbStorageVaultRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<CreateExascaleDbStorageVaultRequest.Builder> implements CreateExascaleDbStorageVaultRequestOrBuilder
 The request for `ExascaleDbStorageVault.Create`.
 
Protobuf type google.cloud.oracledatabase.v1.CreateExascaleDbStorageVaultRequest
  • 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<CreateExascaleDbStorageVaultRequest.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<CreateExascaleDbStorageVaultRequest.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<CreateExascaleDbStorageVaultRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public String getParent()
       Required. The value for parent of the ExascaleDbStorageVault in the
       following format: projects/{project}/locations/{location}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The value for parent of the ExascaleDbStorageVault in the
       following format: projects/{project}/locations/{location}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

       Required. The value for parent of the ExascaleDbStorageVault in the
       following format: projects/{project}/locations/{location}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

       Required. The value for parent of the ExascaleDbStorageVault in the
       following format: projects/{project}/locations/{location}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public CreateExascaleDbStorageVaultRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The value for parent of the ExascaleDbStorageVault in the
       following format: projects/{project}/locations/{location}.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getExascaleDbStorageVaultId

      public String getExascaleDbStorageVaultId()
       Required. The ID of the ExascaleDbStorageVault to create. This value is
       restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
       63 characters in length. The value must start with a letter and end with a
       letter or a number.
       
      string exascale_db_storage_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExascaleDbStorageVaultId in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      The exascaleDbStorageVaultId.
    • getExascaleDbStorageVaultIdBytes

      public com.google.protobuf.ByteString getExascaleDbStorageVaultIdBytes()
       Required. The ID of the ExascaleDbStorageVault to create. This value is
       restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
       63 characters in length. The value must start with a letter and end with a
       letter or a number.
       
      string exascale_db_storage_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExascaleDbStorageVaultIdBytes in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      The bytes for exascaleDbStorageVaultId.
    • setExascaleDbStorageVaultId

      public CreateExascaleDbStorageVaultRequest.Builder setExascaleDbStorageVaultId(String value)
       Required. The ID of the ExascaleDbStorageVault to create. This value is
       restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
       63 characters in length. The value must start with a letter and end with a
       letter or a number.
       
      string exascale_db_storage_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The exascaleDbStorageVaultId to set.
      Returns:
      This builder for chaining.
    • clearExascaleDbStorageVaultId

      public CreateExascaleDbStorageVaultRequest.Builder clearExascaleDbStorageVaultId()
       Required. The ID of the ExascaleDbStorageVault to create. This value is
       restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
       63 characters in length. The value must start with a letter and end with a
       letter or a number.
       
      string exascale_db_storage_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setExascaleDbStorageVaultIdBytes

      public CreateExascaleDbStorageVaultRequest.Builder setExascaleDbStorageVaultIdBytes(com.google.protobuf.ByteString value)
       Required. The ID of the ExascaleDbStorageVault to create. This value is
       restricted to (^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$) and must be a maximum of
       63 characters in length. The value must start with a letter and end with a
       letter or a number.
       
      string exascale_db_storage_vault_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for exascaleDbStorageVaultId to set.
      Returns:
      This builder for chaining.
    • hasExascaleDbStorageVault

      public boolean hasExascaleDbStorageVault()
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasExascaleDbStorageVault in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      Whether the exascaleDbStorageVault field is set.
    • getExascaleDbStorageVault

      public ExascaleDbStorageVault getExascaleDbStorageVault()
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExascaleDbStorageVault in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      The exascaleDbStorageVault.
    • setExascaleDbStorageVault

      public CreateExascaleDbStorageVaultRequest.Builder setExascaleDbStorageVault(ExascaleDbStorageVault value)
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
    • setExascaleDbStorageVault

      public CreateExascaleDbStorageVaultRequest.Builder setExascaleDbStorageVault(ExascaleDbStorageVault.Builder builderForValue)
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
    • mergeExascaleDbStorageVault

      public CreateExascaleDbStorageVaultRequest.Builder mergeExascaleDbStorageVault(ExascaleDbStorageVault value)
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
    • clearExascaleDbStorageVault

      public CreateExascaleDbStorageVaultRequest.Builder clearExascaleDbStorageVault()
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
    • getExascaleDbStorageVaultBuilder

      public ExascaleDbStorageVault.Builder getExascaleDbStorageVaultBuilder()
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
    • getExascaleDbStorageVaultOrBuilder

      public ExascaleDbStorageVaultOrBuilder getExascaleDbStorageVaultOrBuilder()
       Required. The resource being created.
       
      .google.cloud.oracledatabase.v1.ExascaleDbStorageVault exascale_db_storage_vault = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getExascaleDbStorageVaultOrBuilder in interface CreateExascaleDbStorageVaultRequestOrBuilder
    • getRequestId

      public String getRequestId()
       Optional. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestId in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      The requestId.
    • getRequestIdBytes

      public com.google.protobuf.ByteString getRequestIdBytes()
       Optional. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Specified by:
      getRequestIdBytes in interface CreateExascaleDbStorageVaultRequestOrBuilder
      Returns:
      The bytes for requestId.
    • setRequestId

       Optional. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The requestId to set.
      Returns:
      This builder for chaining.
    • clearRequestId

       Optional. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Returns:
      This builder for chaining.
    • setRequestIdBytes

      public CreateExascaleDbStorageVaultRequest.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
       Optional. An optional request ID to identify requests. Specify a unique
       request ID so that if you must retry your request, the server will know to
       ignore the request if it has already been completed. The server will
       guarantee that for at least 60 minutes since the first request.
      
       For example, consider a situation where you make an initial request and the
       request times out. If you make the request again with the same request
       ID, the server can check if original operation with the same request ID
       was received, and if so, will ignore the second request. This prevents
       clients from accidentally creating duplicate commitments.
      
       The request ID must be a valid UUID with the exception that zero UUID is
       not supported (00000000-0000-0000-0000-000000000000).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }
      Parameters:
      value - The bytes for requestId to set.
      Returns:
      This builder for chaining.