Class DeploymentResourcePool.Builder (3.42.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.v1beta1.DeploymentResourcePool

Static 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
Overrides

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
Overrides

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.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

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
Overrides

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
Overrides

clone()

public DeploymentResourcePool.Builder clone()
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

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.v1beta1.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.v1beta1.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.v1beta1.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
Overrides

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.

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.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dedicatedResources field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DedicatedResources
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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeploymentResourcePool.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentResourcePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentResourcePool.Builder
Overrides

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.v1beta1.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.v1beta1.DedicatedResources dedicated_resources = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DedicatedResources.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
Overrides

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentResourcePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DeploymentResourcePool.Builder
Overrides