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
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 DeployRequest.DeployConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeployRequest.DeployConfig build()
public DeployRequest.DeployConfig buildPartial()
public DeployRequest.DeployConfig.Builder clear()
Overrides
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];
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];
public DeployRequest.DeployConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public DeployRequest.DeployConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public DeployRequest.DeployConfig.Builder clearSystemLabels()
public DeployRequest.DeployConfig.Builder clone()
Overrides
public boolean containsSystemLabels(String key)
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
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];
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];
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];
public DeployRequest.DeployConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
public Map<String,String> getMutableSystemLabels()
Use alternate mutation accessors instead.
public Map<String,String> getSystemLabels()
public int getSystemLabelsCount()
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
int |
|
public Map<String,String> getSystemLabelsMap()
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
public String getSystemLabelsOrDefault(String key, String defaultValue)
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
|
public String getSystemLabelsOrThrow(String key)
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
Returns |
Type |
Description |
String |
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
public final boolean isInitialized()
Overrides
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];
public DeployRequest.DeployConfig.Builder mergeFrom(DeployRequest.DeployConfig other)
public DeployRequest.DeployConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public DeployRequest.DeployConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final DeployRequest.DeployConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public DeployRequest.DeployConfig.Builder putAllSystemLabels(Map<String,String> values)
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
public DeployRequest.DeployConfig.Builder putSystemLabels(String key, String value)
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
public DeployRequest.DeployConfig.Builder removeSystemLabels(String key)
Optional. System labels for Model Garden deployments.
These labels are managed by Google and for tracking purposes only.
map<string, string> system_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
key |
String
|
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];
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];
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.
|
public DeployRequest.DeployConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public DeployRequest.DeployConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final DeployRequest.DeployConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides