Class DeploymentResourcePool.Builder

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

public static final class DeploymentResourcePool.Builder extends com.google.protobuf.GeneratedMessage.Builder<DeploymentResourcePool.Builder> implements DeploymentResourcePoolOrBuilder
 A description of resources that can be shared by multiple DeployedModels,
 whose underlying specification consists of a DedicatedResources.
 
Protobuf type google.cloud.aiplatform.v1.DeploymentResourcePool
  • 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<DeploymentResourcePool.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<DeploymentResourcePool.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<DeploymentResourcePool.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public String getName()
       Immutable. The resource name of the DeploymentResourcePool.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getName in interface DeploymentResourcePoolOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Immutable. The resource name of the DeploymentResourcePool.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getNameBytes in interface DeploymentResourcePoolOrBuilder
      Returns:
      The bytes for name.
    • setName

      public DeploymentResourcePool.Builder setName(String value)
       Immutable. The resource name of the DeploymentResourcePool.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public DeploymentResourcePool.Builder clearName()
       Immutable. The resource name of the DeploymentResourcePool.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setNameBytes

      public DeploymentResourcePool.Builder setNameBytes(com.google.protobuf.ByteString value)
       Immutable. The resource name of the DeploymentResourcePool.
       Format:
       `projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}`
       
      string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasDedicatedResources

      public boolean hasDedicatedResources()
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasDedicatedResources in interface DeploymentResourcePoolOrBuilder
      Returns:
      Whether the dedicatedResources field is set.
    • getDedicatedResources

      public DedicatedResources getDedicatedResources()
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDedicatedResources in interface DeploymentResourcePoolOrBuilder
      Returns:
      The dedicatedResources.
    • setDedicatedResources

      public DeploymentResourcePool.Builder setDedicatedResources(DedicatedResources value)
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
    • setDedicatedResources

      public DeploymentResourcePool.Builder setDedicatedResources(DedicatedResources.Builder builderForValue)
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
    • mergeDedicatedResources

      public DeploymentResourcePool.Builder mergeDedicatedResources(DedicatedResources value)
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearDedicatedResources

      public DeploymentResourcePool.Builder clearDedicatedResources()
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDedicatedResourcesBuilder

      public DedicatedResources.Builder getDedicatedResourcesBuilder()
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
    • getDedicatedResourcesOrBuilder

      public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
       Required. The underlying DedicatedResources that the DeploymentResourcePool
       uses.
       
      .google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDedicatedResourcesOrBuilder in interface DeploymentResourcePoolOrBuilder
    • hasEncryptionSpec

      public boolean hasEncryptionSpec()
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
      Specified by:
      hasEncryptionSpec in interface DeploymentResourcePoolOrBuilder
      Returns:
      Whether the encryptionSpec field is set.
    • getEncryptionSpec

      public EncryptionSpec getEncryptionSpec()
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
      Specified by:
      getEncryptionSpec in interface DeploymentResourcePoolOrBuilder
      Returns:
      The encryptionSpec.
    • setEncryptionSpec

      public DeploymentResourcePool.Builder setEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
    • setEncryptionSpec

      public DeploymentResourcePool.Builder setEncryptionSpec(EncryptionSpec.Builder builderForValue)
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
    • mergeEncryptionSpec

      public DeploymentResourcePool.Builder mergeEncryptionSpec(EncryptionSpec value)
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
    • clearEncryptionSpec

      public DeploymentResourcePool.Builder clearEncryptionSpec()
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
    • getEncryptionSpecBuilder

      public EncryptionSpec.Builder getEncryptionSpecBuilder()
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
    • getEncryptionSpecOrBuilder

      public EncryptionSpecOrBuilder getEncryptionSpecOrBuilder()
       Customer-managed encryption key spec for a DeploymentResourcePool. If set,
       this DeploymentResourcePool will be secured by this key. Endpoints and the
       DeploymentResourcePool they deploy in need to have the same EncryptionSpec.
       
      .google.cloud.aiplatform.v1.EncryptionSpec encryption_spec = 5;
      Specified by:
      getEncryptionSpecOrBuilder in interface DeploymentResourcePoolOrBuilder
    • getServiceAccount

      public String getServiceAccount()
       The service account that the DeploymentResourcePool's container(s) run as.
       Specify the email address of the service account. If this service account
       is not specified, the container(s) run as a service account that doesn't
       have access to the resource project.
      
       Users deploying the Models to this DeploymentResourcePool must have the
       `iam.serviceAccounts.actAs` permission on this service account.
       
      string service_account = 6;
      Specified by:
      getServiceAccount in interface DeploymentResourcePoolOrBuilder
      Returns:
      The serviceAccount.
    • getServiceAccountBytes

      public com.google.protobuf.ByteString getServiceAccountBytes()
       The service account that the DeploymentResourcePool's container(s) run as.
       Specify the email address of the service account. If this service account
       is not specified, the container(s) run as a service account that doesn't
       have access to the resource project.
      
       Users deploying the Models to this DeploymentResourcePool must have the
       `iam.serviceAccounts.actAs` permission on this service account.
       
      string service_account = 6;
      Specified by:
      getServiceAccountBytes in interface DeploymentResourcePoolOrBuilder
      Returns:
      The bytes for serviceAccount.
    • setServiceAccount

      public DeploymentResourcePool.Builder setServiceAccount(String value)
       The service account that the DeploymentResourcePool's container(s) run as.
       Specify the email address of the service account. If this service account
       is not specified, the container(s) run as a service account that doesn't
       have access to the resource project.
      
       Users deploying the Models to this DeploymentResourcePool must have the
       `iam.serviceAccounts.actAs` permission on this service account.
       
      string service_account = 6;
      Parameters:
      value - The serviceAccount to set.
      Returns:
      This builder for chaining.
    • clearServiceAccount

      public DeploymentResourcePool.Builder clearServiceAccount()
       The service account that the DeploymentResourcePool's container(s) run as.
       Specify the email address of the service account. If this service account
       is not specified, the container(s) run as a service account that doesn't
       have access to the resource project.
      
       Users deploying the Models to this DeploymentResourcePool must have the
       `iam.serviceAccounts.actAs` permission on this service account.
       
      string service_account = 6;
      Returns:
      This builder for chaining.
    • setServiceAccountBytes

      public DeploymentResourcePool.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
       The service account that the DeploymentResourcePool's container(s) run as.
       Specify the email address of the service account. If this service account
       is not specified, the container(s) run as a service account that doesn't
       have access to the resource project.
      
       Users deploying the Models to this DeploymentResourcePool must have the
       `iam.serviceAccounts.actAs` permission on this service account.
       
      string service_account = 6;
      Parameters:
      value - The bytes for serviceAccount to set.
      Returns:
      This builder for chaining.
    • getDisableContainerLogging

      public boolean getDisableContainerLogging()
       If the DeploymentResourcePool is deployed with custom-trained Models or
       AutoML Tabular Models, the container(s) of the DeploymentResourcePool will
       send `stderr` and `stdout` streams to Cloud Logging by default.
       Please note that the logs incur cost, which are subject to [Cloud Logging
       pricing](https://cloud.google.com/logging/pricing).
      
       User can disable container logging by setting this flag to true.
       
      bool disable_container_logging = 7;
      Specified by:
      getDisableContainerLogging in interface DeploymentResourcePoolOrBuilder
      Returns:
      The disableContainerLogging.
    • setDisableContainerLogging

      public DeploymentResourcePool.Builder setDisableContainerLogging(boolean value)
       If the DeploymentResourcePool is deployed with custom-trained Models or
       AutoML Tabular Models, the container(s) of the DeploymentResourcePool will
       send `stderr` and `stdout` streams to Cloud Logging by default.
       Please note that the logs incur cost, which are subject to [Cloud Logging
       pricing](https://cloud.google.com/logging/pricing).
      
       User can disable container logging by setting this flag to true.
       
      bool disable_container_logging = 7;
      Parameters:
      value - The disableContainerLogging to set.
      Returns:
      This builder for chaining.
    • clearDisableContainerLogging

      public DeploymentResourcePool.Builder clearDisableContainerLogging()
       If the DeploymentResourcePool is deployed with custom-trained Models or
       AutoML Tabular Models, the container(s) of the DeploymentResourcePool will
       send `stderr` and `stdout` streams to Cloud Logging by default.
       Please note that the logs incur cost, which are subject to [Cloud Logging
       pricing](https://cloud.google.com/logging/pricing).
      
       User can disable container logging by setting this flag to true.
       
      bool disable_container_logging = 7;
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DeploymentResourcePoolOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DeploymentResourcePoolOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public DeploymentResourcePool.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setCreateTime

      public DeploymentResourcePool.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeCreateTime

      public DeploymentResourcePool.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearCreateTime

      public DeploymentResourcePool.Builder clearCreateTime()
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp when this DeploymentResourcePool was created.
       
      .google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DeploymentResourcePoolOrBuilder
    • getSatisfiesPzs

      public boolean getSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzs in interface DeploymentResourcePoolOrBuilder
      Returns:
      The satisfiesPzs.
    • setSatisfiesPzs

      public DeploymentResourcePool.Builder setSatisfiesPzs(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzs to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzs

      public DeploymentResourcePool.Builder clearSatisfiesPzs()
       Output only. Reserved for future use.
       
      bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • getSatisfiesPzi

      public boolean getSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSatisfiesPzi in interface DeploymentResourcePoolOrBuilder
      Returns:
      The satisfiesPzi.
    • setSatisfiesPzi

      public DeploymentResourcePool.Builder setSatisfiesPzi(boolean value)
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The satisfiesPzi to set.
      Returns:
      This builder for chaining.
    • clearSatisfiesPzi

      public DeploymentResourcePool.Builder clearSatisfiesPzi()
       Output only. Reserved for future use.
       
      bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.