Class RecommendSpecResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
com.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Builder
- All Implemented Interfaces:
RecommendSpecResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RecommendSpecResponse
public static final class RecommendSpecResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
implements RecommendSpecResponseOrBuilder
Response message for [ModelService.RecommendSpec][google.cloud.aiplatform.v1beta1.ModelService.RecommendSpec].Protobuf type
google.cloud.aiplatform.v1beta1.RecommendSpecResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllRecommendations(Iterable<? extends RecommendSpecResponse.Recommendation> values) Output only.addAllSpecs(Iterable<? extends RecommendSpecResponse.MachineAndModelContainerSpec> values) Output only.addRecommendations(int index, RecommendSpecResponse.Recommendation value) Output only.addRecommendations(int index, RecommendSpecResponse.Recommendation.Builder builderForValue) Output only.Output only.addRecommendations(RecommendSpecResponse.Recommendation.Builder builderForValue) Output only.Output only.addRecommendationsBuilder(int index) Output only.addSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec value) Output only.addSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue) Output only.Output only.addSpecs(RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue) Output only.Output only.addSpecsBuilder(int index) Output only.build()clear()Output only.Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRecommendations(int index) Output only.getRecommendationsBuilder(int index) Output only.Output only.intOutput only.Output only.getRecommendationsOrBuilder(int index) Output only.Output only.getSpecs(int index) Output only.getSpecsBuilder(int index) Output only.Output only.intOutput only.Output only.getSpecsOrBuilder(int index) Output only.Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RecommendSpecResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRecommendations(int index) Output only.removeSpecs(int index) Output only.setBaseModel(String value) Output only.setBaseModelBytes(com.google.protobuf.ByteString value) Output only.setRecommendations(int index, RecommendSpecResponse.Recommendation value) Output only.setRecommendations(int index, RecommendSpecResponse.Recommendation.Builder builderForValue) Output only.setSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec value) Output only.setSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, 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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecommendSpecResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
-
mergeFrom
public RecommendSpecResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecommendSpecResponse.Builder>- Throws:
IOException
-
getBaseModel
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBaseModelin interfaceRecommendSpecResponseOrBuilder- Returns:
- The baseModel.
-
getBaseModelBytes
public com.google.protobuf.ByteString getBaseModelBytes()Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getBaseModelBytesin interfaceRecommendSpecResponseOrBuilder- Returns:
- The bytes for baseModel.
-
setBaseModel
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The baseModel to set.- Returns:
- This builder for chaining.
-
clearBaseModel
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setBaseModelBytes
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for baseModel to set.- Returns:
- This builder for chaining.
-
getRecommendationsList
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecommendationsListin interfaceRecommendSpecResponseOrBuilder
-
getRecommendationsCount
public int getRecommendationsCount()Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecommendationsCountin interfaceRecommendSpecResponseOrBuilder
-
getRecommendations
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecommendationsin interfaceRecommendSpecResponseOrBuilder
-
setRecommendations
public RecommendSpecResponse.Builder setRecommendations(int index, RecommendSpecResponse.Recommendation value) Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setRecommendations
public RecommendSpecResponse.Builder setRecommendations(int index, RecommendSpecResponse.Recommendation.Builder builderForValue) Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addRecommendations
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addRecommendations
public RecommendSpecResponse.Builder addRecommendations(int index, RecommendSpecResponse.Recommendation value) Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addRecommendations
public RecommendSpecResponse.Builder addRecommendations(RecommendSpecResponse.Recommendation.Builder builderForValue) Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addRecommendations
public RecommendSpecResponse.Builder addRecommendations(int index, RecommendSpecResponse.Recommendation.Builder builderForValue) Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllRecommendations
public RecommendSpecResponse.Builder addAllRecommendations(Iterable<? extends RecommendSpecResponse.Recommendation> values) Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearRecommendations
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeRecommendations
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRecommendationsBuilder
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRecommendationsOrBuilder
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecommendationsOrBuilderin interfaceRecommendSpecResponseOrBuilder
-
getRecommendationsOrBuilderList
public List<? extends RecommendSpecResponse.RecommendationOrBuilder> getRecommendationsOrBuilderList()Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getRecommendationsOrBuilderListin interfaceRecommendSpecResponseOrBuilder
-
addRecommendationsBuilder
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addRecommendationsBuilder
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRecommendationsBuilderList
Output only. Recommendations of deployment options for the given custom weights model.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation recommendations = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSpecsList
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSpecsListin interfaceRecommendSpecResponseOrBuilder
-
getSpecsCount
public int getSpecsCount()Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSpecsCountin interfaceRecommendSpecResponseOrBuilder
-
getSpecs
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSpecsin interfaceRecommendSpecResponseOrBuilder
-
setSpecs
public RecommendSpecResponse.Builder setSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec value) Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setSpecs
public RecommendSpecResponse.Builder setSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue) Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addSpecs
public RecommendSpecResponse.Builder addSpecs(RecommendSpecResponse.MachineAndModelContainerSpec value) Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addSpecs
public RecommendSpecResponse.Builder addSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec value) Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addSpecs
public RecommendSpecResponse.Builder addSpecs(RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue) Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addSpecs
public RecommendSpecResponse.Builder addSpecs(int index, RecommendSpecResponse.MachineAndModelContainerSpec.Builder builderForValue) Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllSpecs
public RecommendSpecResponse.Builder addAllSpecs(Iterable<? extends RecommendSpecResponse.MachineAndModelContainerSpec> values) Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearSpecs
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeSpecs
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSpecsBuilder
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSpecsOrBuilder
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSpecsOrBuilderin interfaceRecommendSpecResponseOrBuilder
-
getSpecsOrBuilderList
public List<? extends RecommendSpecResponse.MachineAndModelContainerSpecOrBuilder> getSpecsOrBuilderList()Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSpecsOrBuilderListin interfaceRecommendSpecResponseOrBuilder
-
addSpecsBuilder
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addSpecsBuilder
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getSpecsBuilderList
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-