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
Static Fields
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
public static final int DEDICATED_RESOURCES_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
public static DeploymentResourcePool getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static DeploymentResourcePool.Builder newBuilder()
Returns
public static DeploymentResourcePool.Builder newBuilder(DeploymentResourcePool prototype)
Parameter
Returns
public static DeploymentResourcePool parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeploymentResourcePool parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeploymentResourcePool parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static DeploymentResourcePool parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeploymentResourcePool parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static DeploymentResourcePool parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeploymentResourcePool parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DeploymentResourcePool parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeploymentResourcePool parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DeploymentResourcePool parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DeploymentResourcePool parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static DeploymentResourcePool parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<DeploymentResourcePool> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
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
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Timestamp when this DeploymentResourcePool was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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
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
public DeploymentResourcePool getDefaultInstanceForType()
Returns
Output only. The resource name of the DeploymentResourcePool.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Output only. The resource name of the DeploymentResourcePool.
Format:
projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
public Parser<DeploymentResourcePool> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public DeploymentResourcePool.Builder newBuilderForType()
Returns
protected DeploymentResourcePool.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public DeploymentResourcePool.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions