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)
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 NAME_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()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
public Parser<DeploymentResourcePool> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
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)
Overrides
public DeploymentResourcePool.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides