Package com.google.cloud.aiplatform.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Required.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.Customer-managed encryption key spec for a DeploymentResourcePool.Immutable.Output only.Output only.The service account that the DeploymentResourcePool's container(s) run as.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Required.Required.Required.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIf 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.Customer-managed encryption key spec for a DeploymentResourcePool.Customer-managed encryption key spec for a DeploymentResourcePool.Customer-managed encryption key spec for a DeploymentResourcePool.getName()Immutable.com.google.protobuf.ByteStringImmutable.booleanOutput only.booleanOutput only.The service account that the DeploymentResourcePool's container(s) run as.com.google.protobuf.ByteStringThe service account that the DeploymentResourcePool's container(s) run as.booleanOutput only.booleanRequired.booleanCustomer-managed encryption key spec for a DeploymentResourcePool.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.Required.Customer-managed encryption key spec for a DeploymentResourcePool.mergeFrom(DeploymentResourcePool other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.Required.setDedicatedResources(DedicatedResources.Builder builderForValue) Required.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.setEncryptionSpec(EncryptionSpec value) Customer-managed encryption key spec for a DeploymentResourcePool.setEncryptionSpec(EncryptionSpec.Builder builderForValue) Customer-managed encryption key spec for a DeploymentResourcePool.Immutable.setNameBytes(com.google.protobuf.ByteString value) Immutable.setSatisfiesPzi(boolean value) Output only.setSatisfiesPzs(boolean value) Output only.setServiceAccount(String value) The service account that the DeploymentResourcePool's container(s) run as.setServiceAccountBytes(com.google.protobuf.ByteString value) The service account that the DeploymentResourcePool's container(s) run as.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<DeploymentResourcePool.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<DeploymentResourcePool.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<DeploymentResourcePool.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeploymentResourcePool.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<DeploymentResourcePool.Builder>- Throws:
IOException
-
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:
getNamein interfaceDeploymentResourcePoolOrBuilder- 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:
getNameBytesin interfaceDeploymentResourcePoolOrBuilder- Returns:
- The bytes for name.
-
setName
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
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
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:
hasDedicatedResourcesin interfaceDeploymentResourcePoolOrBuilder- Returns:
- Whether the dedicatedResources field is set.
-
getDedicatedResources
Required. The underlying DedicatedResources that the DeploymentResourcePool uses.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDedicatedResourcesin interfaceDeploymentResourcePoolOrBuilder- Returns:
- The dedicatedResources.
-
setDedicatedResources
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
Required. The underlying DedicatedResources that the DeploymentResourcePool uses.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
clearDedicatedResources
Required. The underlying DedicatedResources that the DeploymentResourcePool uses.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getDedicatedResourcesBuilder
Required. The underlying DedicatedResources that the DeploymentResourcePool uses.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED]; -
getDedicatedResourcesOrBuilder
Required. The underlying DedicatedResources that the DeploymentResourcePool uses.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getDedicatedResourcesOrBuilderin interfaceDeploymentResourcePoolOrBuilder
-
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:
hasEncryptionSpecin interfaceDeploymentResourcePoolOrBuilder- Returns:
- Whether the encryptionSpec field is set.
-
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:
getEncryptionSpecin interfaceDeploymentResourcePoolOrBuilder- Returns:
- The encryptionSpec.
-
setEncryptionSpec
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
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
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
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
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
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:
getEncryptionSpecOrBuilderin interfaceDeploymentResourcePoolOrBuilder
-
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:
getServiceAccountin interfaceDeploymentResourcePoolOrBuilder- 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:
getServiceAccountBytesin interfaceDeploymentResourcePoolOrBuilder- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
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
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
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:
getDisableContainerLoggingin interfaceDeploymentResourcePoolOrBuilder- Returns:
- The disableContainerLogging.
-
setDisableContainerLogging
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
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:
hasCreateTimein interfaceDeploymentResourcePoolOrBuilder- 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:
getCreateTimein interfaceDeploymentResourcePoolOrBuilder- Returns:
- The createTime.
-
setCreateTime
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
Output only. Timestamp when this DeploymentResourcePool was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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:
getCreateTimeOrBuilderin interfaceDeploymentResourcePoolOrBuilder
-
getSatisfiesPzs
public boolean getSatisfiesPzs()Output only. Reserved for future use.
bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSatisfiesPzsin interfaceDeploymentResourcePoolOrBuilder- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
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
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:
getSatisfiesPziin interfaceDeploymentResourcePoolOrBuilder- Returns:
- The satisfiesPzi.
-
setSatisfiesPzi
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
Output only. Reserved for future use.
bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-