public static final class RecommendSpecRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<RecommendSpecRequest.Builder> implements RecommendSpecRequestOrBuilder
Request message for [ModelService.RecommendSpec][google.cloud.aiplatform.v1beta1.ModelService.RecommendSpec].Protobuf type
google.cloud.aiplatform.v1beta1.RecommendSpecRequestaddRepeatedField, 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<RecommendSpecRequest.Builder>public RecommendSpecRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecRequest.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<RecommendSpecRequest.Builder>public RecommendSpecRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RecommendSpecRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RecommendSpecRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RecommendSpecRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecommendSpecRequest.Builder>public RecommendSpecRequest.Builder mergeFrom(RecommendSpecRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecRequest.Builder>public RecommendSpecRequest.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<RecommendSpecRequest.Builder>IOExceptionpublic String getParent()
Required. The resource name of the Location from which to recommend specs.
The users must have permission to make a call in the project.
Format:
`projects/{project}/locations/{location}`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParent in interface RecommendSpecRequestOrBuilderpublic com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the Location from which to recommend specs.
The users must have permission to make a call in the project.
Format:
`projects/{project}/locations/{location}`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getParentBytes in interface RecommendSpecRequestOrBuilderpublic RecommendSpecRequest.Builder setParent(String value)
Required. The resource name of the Location from which to recommend specs.
The users must have permission to make a call in the project.
Format:
`projects/{project}/locations/{location}`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The parent to set.public RecommendSpecRequest.Builder clearParent()
Required. The resource name of the Location from which to recommend specs.
The users must have permission to make a call in the project.
Format:
`projects/{project}/locations/{location}`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public RecommendSpecRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
Required. The resource name of the Location from which to recommend specs.
The users must have permission to make a call in the project.
Format:
`projects/{project}/locations/{location}`.
string parent = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for parent to set.public String getGcsUri()
Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];getGcsUri in interface RecommendSpecRequestOrBuilderpublic com.google.protobuf.ByteString getGcsUriBytes()
Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];getGcsUriBytes in interface RecommendSpecRequestOrBuilderpublic RecommendSpecRequest.Builder setGcsUri(String value)
Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The gcsUri to set.public RecommendSpecRequest.Builder clearGcsUri()
Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];public RecommendSpecRequest.Builder setGcsUriBytes(com.google.protobuf.ByteString value)
Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).
string gcs_uri = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for gcsUri to set.public boolean getCheckMachineAvailability()
Optional. If true, check machine availability for the recommended regions. Only return the machine spec in regions where the machine is available.
bool check_machine_availability = 3 [(.google.api.field_behavior) = OPTIONAL];getCheckMachineAvailability in interface RecommendSpecRequestOrBuilderpublic RecommendSpecRequest.Builder setCheckMachineAvailability(boolean value)
Optional. If true, check machine availability for the recommended regions. Only return the machine spec in regions where the machine is available.
bool check_machine_availability = 3 [(.google.api.field_behavior) = OPTIONAL];value - The checkMachineAvailability to set.public RecommendSpecRequest.Builder clearCheckMachineAvailability()
Optional. If true, check machine availability for the recommended regions. Only return the machine spec in regions where the machine is available.
bool check_machine_availability = 3 [(.google.api.field_behavior) = OPTIONAL];public boolean getCheckUserQuota()
Optional. If true, check user quota for the recommended regions. Returns all the machine spec in regions they are available, and also the user quota state for each machine type in each region.
bool check_user_quota = 4 [(.google.api.field_behavior) = OPTIONAL];getCheckUserQuota in interface RecommendSpecRequestOrBuilderpublic RecommendSpecRequest.Builder setCheckUserQuota(boolean value)
Optional. If true, check user quota for the recommended regions. Returns all the machine spec in regions they are available, and also the user quota state for each machine type in each region.
bool check_user_quota = 4 [(.google.api.field_behavior) = OPTIONAL];value - The checkUserQuota to set.public RecommendSpecRequest.Builder clearCheckUserQuota()
Optional. If true, check user quota for the recommended regions. Returns all the machine spec in regions they are available, and also the user quota state for each machine type in each region.
bool check_user_quota = 4 [(.google.api.field_behavior) = OPTIONAL];Copyright © 2026 Google LLC. All rights reserved.