public static final class RecommendSpecResponse.Recommendation.Builder extends com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Recommendation.Builder> implements RecommendSpecResponse.RecommendationOrBuilder
Recommendation of one deployment option for the given custom weights model in one region. Contains the machine and container spec, and user accelerator quota state.Protobuf type
google.cloud.aiplatform.v1beta1.RecommendSpecResponse.RecommendationaddRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Recommendation.Builder>public RecommendSpecResponse.Recommendation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Recommendation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Recommendation.Builder>public RecommendSpecResponse.Recommendation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RecommendSpecResponse.Recommendation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RecommendSpecResponse.Recommendation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RecommendSpecResponse.Recommendation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecommendSpecResponse.Recommendation.Builder>public RecommendSpecResponse.Recommendation.Builder mergeFrom(RecommendSpecResponse.Recommendation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Recommendation.Builder>public RecommendSpecResponse.Recommendation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecommendSpecResponse.Recommendation.Builder>IOExceptionpublic String getRegion()
The region for the deployment spec (machine).
string region = 1;getRegion in interface RecommendSpecResponse.RecommendationOrBuilderpublic com.google.protobuf.ByteString getRegionBytes()
The region for the deployment spec (machine).
string region = 1;getRegionBytes in interface RecommendSpecResponse.RecommendationOrBuilderpublic RecommendSpecResponse.Recommendation.Builder setRegion(String value)
The region for the deployment spec (machine).
string region = 1;value - The region to set.public RecommendSpecResponse.Recommendation.Builder clearRegion()
The region for the deployment spec (machine).
string region = 1;public RecommendSpecResponse.Recommendation.Builder setRegionBytes(com.google.protobuf.ByteString value)
The region for the deployment spec (machine).
string region = 1;value - The bytes for region to set.public boolean hasSpec()
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasSpec in interface RecommendSpecResponse.RecommendationOrBuilderpublic RecommendSpecResponse.MachineAndModelContainerSpec getSpec()
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSpec in interface RecommendSpecResponse.RecommendationOrBuilderpublic RecommendSpecResponse.Recommendation.Builder setSpec(RecommendSpecResponse.MachineAndModelContainerSpec value)
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.Recommendation.Builder setSpec(RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue)
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.Recommendation.Builder mergeSpec(RecommendSpecResponse.MachineAndModelContainerSpec value)
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.Recommendation.Builder clearSpec()
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.MachineAndModelContainerSpec.Builder getSpecBuilder()
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.MachineAndModelContainerSpecOrBuilder getSpecOrBuilder()
Output only. The machine and model container specs.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec spec = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSpecOrBuilder in interface RecommendSpecResponse.RecommendationOrBuilderpublic int getUserQuotaStateValue()
Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUserQuotaStateValue in interface RecommendSpecResponse.RecommendationOrBuilderpublic RecommendSpecResponse.Recommendation.Builder setUserQuotaStateValue(int value)
Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for userQuotaState to set.public RecommendSpecResponse.Recommendation.QuotaState getUserQuotaState()
Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUserQuotaState in interface RecommendSpecResponse.RecommendationOrBuilderpublic RecommendSpecResponse.Recommendation.Builder setUserQuotaState(RecommendSpecResponse.Recommendation.QuotaState value)
Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The userQuotaState to set.public RecommendSpecResponse.Recommendation.Builder clearUserQuotaState()
Output only. The user accelerator quota state.
.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation.QuotaState user_quota_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Copyright © 2026 Google LLC. All rights reserved.