Class DeployRequest.DeployConfig.Builder (3.60.0)

public static final class DeployRequest.DeployConfig.Builder extends GeneratedMessageV3.Builder<DeployRequest.DeployConfig.Builder> implements DeployRequest.DeployConfigOrBuilder

The deploy config to use for the deployment.

Protobuf type google.cloud.aiplatform.v1beta1.DeployRequest.DeployConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeployRequest.DeployConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides

build()

public DeployRequest.DeployConfig build()
Returns
Type Description
DeployRequest.DeployConfig

buildPartial()

public DeployRequest.DeployConfig buildPartial()
Returns
Type Description
DeployRequest.DeployConfig

clear()

public DeployRequest.DeployConfig.Builder clear()
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides

clearDedicatedResources()

public DeployRequest.DeployConfig.Builder clearDedicatedResources()

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeployRequest.DeployConfig.Builder

clearFastTryoutEnabled()

public DeployRequest.DeployConfig.Builder clearFastTryoutEnabled()

Optional. If true, enable the QMT fast tryout feature for this model if possible.

bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DeployRequest.DeployConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DeployRequest.DeployConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DeployRequest.DeployConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides

clone()

public DeployRequest.DeployConfig.Builder clone()
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides

getDedicatedResources()

public DedicatedResources getDedicatedResources()

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DedicatedResources

The dedicatedResources.

getDedicatedResourcesBuilder()

public DedicatedResources.Builder getDedicatedResourcesBuilder()

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DedicatedResources.Builder

getDedicatedResourcesOrBuilder()

public DedicatedResourcesOrBuilder getDedicatedResourcesOrBuilder()

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DedicatedResourcesOrBuilder

getDefaultInstanceForType()

public DeployRequest.DeployConfig getDefaultInstanceForType()
Returns
Type Description
DeployRequest.DeployConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFastTryoutEnabled()

public boolean getFastTryoutEnabled()

Optional. If true, enable the QMT fast tryout feature for this model if possible.

bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The fastTryoutEnabled.

hasDedicatedResources()

public boolean hasDedicatedResources()

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

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

mergeDedicatedResources(DedicatedResources value)

public DeployRequest.DeployConfig.Builder mergeDedicatedResources(DedicatedResources value)

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DedicatedResources
Returns
Type Description
DeployRequest.DeployConfig.Builder

mergeFrom(DeployRequest.DeployConfig other)

public DeployRequest.DeployConfig.Builder mergeFrom(DeployRequest.DeployConfig other)
Parameter
Name Description
other DeployRequest.DeployConfig
Returns
Type Description
DeployRequest.DeployConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeployRequest.DeployConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDedicatedResources(DedicatedResources value)

public DeployRequest.DeployConfig.Builder setDedicatedResources(DedicatedResources value)

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DedicatedResources
Returns
Type Description
DeployRequest.DeployConfig.Builder

setDedicatedResources(DedicatedResources.Builder builderForValue)

public DeployRequest.DeployConfig.Builder setDedicatedResources(DedicatedResources.Builder builderForValue)

Optional. The dedicated resources to use for the endpoint. If not set, the default resources will be used.

.google.cloud.aiplatform.v1beta1.DedicatedResources dedicated_resources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DedicatedResources.Builder
Returns
Type Description
DeployRequest.DeployConfig.Builder

setFastTryoutEnabled(boolean value)

public DeployRequest.DeployConfig.Builder setFastTryoutEnabled(boolean value)

Optional. If true, enable the QMT fast tryout feature for this model if possible.

bool fast_tryout_enabled = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The fastTryoutEnabled to set.

Returns
Type Description
DeployRequest.DeployConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DeployRequest.DeployConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeployRequest.DeployConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DeployRequest.DeployConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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