public final class DeploymentResourcePool extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DEDICATED_RESOURCES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int DISABLE_CONTAINER_LOGGING_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int ENCRYPTION_SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SATISFIES_PZI_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SATISFIES_PZS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
public static final int SERVICE_ACCOUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
public static DeploymentResourcePool getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static DeploymentResourcePool.Builder newBuilder()
public static DeploymentResourcePool.Builder newBuilder(DeploymentResourcePool prototype)
public static DeploymentResourcePool parseDelimitedFrom(InputStream input)
public static DeploymentResourcePool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeploymentResourcePool parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
public static DeploymentResourcePool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DeploymentResourcePool parseFrom(ByteString data)
public static DeploymentResourcePool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DeploymentResourcePool parseFrom(CodedInputStream input)
public static DeploymentResourcePool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DeploymentResourcePool parseFrom(InputStream input)
public static DeploymentResourcePool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DeploymentResourcePool parseFrom(ByteBuffer data)
public static DeploymentResourcePool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<DeploymentResourcePool> parser()
Methods
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
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.
|
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this DeploymentResourcePool was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public DedicatedResources getDedicatedResources()
Required. The underlying DedicatedResources that the DeploymentResourcePool
uses.
.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
Required. The underlying DedicatedResources that the DeploymentResourcePool
uses.
.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
public DeploymentResourcePool getDefaultInstanceForType()
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.
|
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;
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;
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.
|
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.
|
public Parser<DeploymentResourcePool> getParserForType()
Overrides
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.
|
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.
|
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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.
|
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.
|
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.
|
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.
|
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.
|
Returns |
Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public DeploymentResourcePool.Builder newBuilderForType()
protected DeploymentResourcePool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
public DeploymentResourcePool.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides