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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public DeploymentResourcePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeploymentResourcePool build()
public DeploymentResourcePool buildPartial()
public DeploymentResourcePool.Builder clear()
Overrides
public DeploymentResourcePool.Builder clearCreateTime()
Output only. Timestamp when this DeploymentResourcePool was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
public DeploymentResourcePool.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
public DeploymentResourcePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DeploymentResourcePool.Builder clone()
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 Timestamp.Builder getCreateTimeBuilder()
Output only. Timestamp when this DeploymentResourcePool was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()
Required. The underlying DedicatedResources that the DeploymentResourcePool
uses.
.google.cloud.aiplatform.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
public DeploymentResourcePool getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 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.v1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the dedicatedResources field is set.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
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];
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];
public DeploymentResourcePool.Builder mergeFrom(DeploymentResourcePool other)
public DeploymentResourcePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DeploymentResourcePool.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final DeploymentResourcePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|
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];
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];
public DeploymentResourcePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.
|
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.
|
public DeploymentResourcePool.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DeploymentResourcePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides