Class DeploymentResourcePool.Builder (3.48.0)

public static final class DeploymentResourcePool.Builder extends GeneratedMessageV3.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.v1beta1.DeploymentResourcePool

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentResourcePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

build()

public DeploymentResourcePool build()
Returns
Type Description
DeploymentResourcePool

buildPartial()

public DeploymentResourcePool buildPartial()
Returns
Type Description
DeploymentResourcePool

clear()

public DeploymentResourcePool.Builder clear()
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

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];

Returns
Type Description
DeploymentResourcePool.Builder

clearDedicatedResources()

public DeploymentResourcePool.Builder clearDedicatedResources()

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DeploymentResourcePool.Builder

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.

User can disable container logging by setting this flag to true.

bool disable_container_logging = 7;

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

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.v1beta1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
DeploymentResourcePool.Builder

clearField(Descriptors.FieldDescriptor field)

public DeploymentResourcePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

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
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentResourcePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

clearSatisfiesPzi()

public DeploymentResourcePool.Builder clearSatisfiesPzi()

Output only. Reserved for future use.

bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeploymentResourcePool.Builder

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
Type Description
DeploymentResourcePool.Builder

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
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

clone()

public DeploymentResourcePool.Builder clone()
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

getCreateTime()

public Timestamp getCreateTime()

Output only. Timestamp when this DeploymentResourcePool was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Timestamp when this DeploymentResourcePool was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this DeploymentResourcePool was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDedicatedResources()

public DedicatedResources getDedicatedResources()

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DedicatedResources

The dedicatedResources.

getDedicatedResourcesBuilder()

public DedicatedResources.Builder getDedicatedResourcesBuilder()

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DedicatedResources.Builder

getDedicatedResourcesOrBuilder()

public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DedicatedResourcesOrBuilder

getDefaultInstanceForType()

public DeploymentResourcePool getDefaultInstanceForType()
Returns
Type Description
DeploymentResourcePool

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

User can disable container logging by setting this flag to true.

bool disable_container_logging = 7;

Returns
Type Description
boolean

The disableContainerLogging.

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.v1beta1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
EncryptionSpec

The encryptionSpec.

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.v1beta1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
EncryptionSpec.Builder

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.v1beta1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
EncryptionSpecOrBuilder

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getSatisfiesPzi()

public boolean getSatisfiesPzi()

Output only. Reserved for future use.

bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The satisfiesPzi.

getSatisfiesPzs()

public boolean getSatisfiesPzs()

Output only. Reserved for future use.

bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The satisfiesPzs.

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;

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

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

Returns
Type Description
ByteString

The bytes for serviceAccount.

hasCreateTime()

public boolean hasCreateTime()

Output only. Timestamp when this DeploymentResourcePool was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDedicatedResources()

public boolean hasDedicatedResources()

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dedicatedResources field is set.

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.v1beta1.EncryptionSpec encryption_spec = 5;

Returns
Type Description
boolean

Whether the encryptionSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public DeploymentResourcePool.Builder mergeCreateTime(Timestamp value)

Output only. Timestamp when this DeploymentResourcePool was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentResourcePool.Builder

mergeDedicatedResources(DedicatedResources value)

public DeploymentResourcePool.Builder mergeDedicatedResources(DedicatedResources value)

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DedicatedResources
Returns
Type Description
DeploymentResourcePool.Builder

mergeEncryptionSpec(EncryptionSpec value)

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.v1beta1.EncryptionSpec encryption_spec = 5;

Parameter
Name Description
value EncryptionSpec
Returns
Type Description
DeploymentResourcePool.Builder

mergeFrom(DeploymentResourcePool other)

public DeploymentResourcePool.Builder mergeFrom(DeploymentResourcePool other)
Parameter
Name Description
other DeploymentResourcePool
Returns
Type Description
DeploymentResourcePool.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentResourcePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeploymentResourcePool.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeploymentResourcePool.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentResourcePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

setCreateTime(Timestamp value)

public DeploymentResourcePool.Builder setCreateTime(Timestamp value)

Output only. Timestamp when this DeploymentResourcePool was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
DeploymentResourcePool.Builder

setCreateTime(Timestamp.Builder builderForValue)

public DeploymentResourcePool.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Timestamp when this DeploymentResourcePool was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DeploymentResourcePool.Builder

setDedicatedResources(DedicatedResources value)

public DeploymentResourcePool.Builder setDedicatedResources(DedicatedResources value)

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DedicatedResources
Returns
Type Description
DeploymentResourcePool.Builder

setDedicatedResources(DedicatedResources.Builder builderForValue)

public DeploymentResourcePool.Builder setDedicatedResources(DedicatedResources.Builder builderForValue)

Required. The underlying DedicatedResources that the DeploymentResourcePool uses.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DedicatedResources.Builder
Returns
Type Description
DeploymentResourcePool.Builder

setDisableContainerLogging(boolean value)

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.

User can disable container logging by setting this flag to true.

bool disable_container_logging = 7;

Parameter
Name Description
value boolean

The disableContainerLogging to set.

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

setEncryptionSpec(EncryptionSpec value)

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.v1beta1.EncryptionSpec encryption_spec = 5;

Parameter
Name Description
value EncryptionSpec
Returns
Type Description
DeploymentResourcePool.Builder

setEncryptionSpec(EncryptionSpec.Builder builderForValue)

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.v1beta1.EncryptionSpec encryption_spec = 5;

Parameter
Name Description
builderForValue EncryptionSpec.Builder
Returns
Type Description
DeploymentResourcePool.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentResourcePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeploymentResourcePool.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeploymentResourcePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

setSatisfiesPzi(boolean value)

public DeploymentResourcePool.Builder setSatisfiesPzi(boolean value)

Output only. Reserved for future use.

bool satisfies_pzi = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The satisfiesPzi to set.

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

setSatisfiesPzs(boolean value)

public DeploymentResourcePool.Builder setSatisfiesPzs(boolean value)

Output only. Reserved for future use.

bool satisfies_pzs = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The satisfiesPzs to set.

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

setServiceAccount(String value)

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;

Parameter
Name Description
value String

The serviceAccount to set.

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

setServiceAccountBytes(ByteString value)

public DeploymentResourcePool.Builder setServiceAccountBytes(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;

Parameter
Name Description
value ByteString

The bytes for serviceAccount to set.

Returns
Type Description
DeploymentResourcePool.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentResourcePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentResourcePool.Builder
Overrides