Class DeploymentResourcePool

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.DeploymentResourcePool
All Implemented Interfaces:
DeploymentResourcePoolOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class DeploymentResourcePool extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DEDICATED_RESOURCES_FIELD_NUMBER

      public static final int DEDICATED_RESOURCES_FIELD_NUMBER
      See Also:
    • ENCRYPTION_SPEC_FIELD_NUMBER

      public static final int ENCRYPTION_SPEC_FIELD_NUMBER
      See Also:
    • SERVICE_ACCOUNT_FIELD_NUMBER

      public static final int SERVICE_ACCOUNT_FIELD_NUMBER
      See Also:
    • DISABLE_CONTAINER_LOGGING_FIELD_NUMBER

      public static final int DISABLE_CONTAINER_LOGGING_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • SATISFIES_PZS_FIELD_NUMBER

      public static final int SATISFIES_PZS_FIELD_NUMBER
      See Also:
    • SATISFIES_PZI_FIELD_NUMBER

      public static final int SATISFIES_PZI_FIELD_NUMBER
      See Also:
  • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DeploymentResourcePool parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentResourcePool parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentResourcePool parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentResourcePool parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentResourcePool parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentResourcePool parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DeploymentResourcePool parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeploymentResourcePool parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeploymentResourcePool parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DeploymentResourcePool parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeploymentResourcePool parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DeploymentResourcePool parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DeploymentResourcePool.Builder newBuilder()
    • newBuilder

      public static DeploymentResourcePool.Builder newBuilder(DeploymentResourcePool prototype)
    • toBuilder

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

      protected DeploymentResourcePool.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static DeploymentResourcePool getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DeploymentResourcePool> parser()
    • getParserForType

      public com.google.protobuf.Parser<DeploymentResourcePool> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

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