Class DeploymentResourcePool.Builder (3.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeploymentResourcePool.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides

build()

public DeploymentResourcePool build()
Returns
TypeDescription
DeploymentResourcePool

buildPartial()

public DeploymentResourcePool buildPartial()
Returns
TypeDescription
DeploymentResourcePool

clear()

public DeploymentResourcePool.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DeploymentResourcePool.Builder

clearField(Descriptors.FieldDescriptor field)

public DeploymentResourcePool.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides

clearName()

public DeploymentResourcePool.Builder clearName()

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
TypeDescription
DeploymentResourcePool.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeploymentResourcePool.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides

clone()

public DeploymentResourcePool.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DedicatedResourcesOrBuilder

getDefaultInstanceForType()

public DeploymentResourcePool getDefaultInstanceForType()
Returns
TypeDescription
DeploymentResourcePool

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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
TypeDescription
String

The name.

getNameBytes()

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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the dedicatedResources field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueDedicatedResources
Returns
TypeDescription
DeploymentResourcePool.Builder

mergeFrom(DeploymentResourcePool other)

public DeploymentResourcePool.Builder mergeFrom(DeploymentResourcePool other)
Parameter
NameDescription
otherDeploymentResourcePool
Returns
TypeDescription
DeploymentResourcePool.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeploymentResourcePool.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeploymentResourcePool.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentResourcePool.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDedicatedResources
Returns
TypeDescription
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
NameDescription
builderForValueDedicatedResources.Builder
Returns
TypeDescription
DeploymentResourcePool.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DeploymentResourcePool.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides

setName(String value)

public DeploymentResourcePool.Builder setName(String value)

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];

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeploymentResourcePool.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeploymentResourcePool.Builder setNameBytes(ByteString value)

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];

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeploymentResourcePool.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeploymentResourcePool.Builder
Overrides