- 3.52.0 (latest)
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.5.0
- 3.4.2
- 3.3.0
- 3.2.0
- 3.0.0
- 2.9.8
- 2.8.9
- 2.7.4
- 2.5.3
- 2.4.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.v1.DeploymentResourcePool
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DeploymentResourcePool.BuilderImplements
DeploymentResourcePoolOrBuilderStatic 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 |
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 |
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.v1.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.v1.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 |
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 |
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 |
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.v1.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.v1.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.v1.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 |
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.v1.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.v1.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.v1.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. |
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.v1.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.v1.EncryptionSpec encryption_spec = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the encryptionSpec field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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.v1.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.v1.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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DeploymentResourcePool.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DeploymentResourcePool.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeploymentResourcePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DeploymentResourcePool.Builder |
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.v1.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.v1.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.v1.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.v1.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 |
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 |
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 |