public static final class RecommendSpecResponse.Builder extends GeneratedMessageV3.Builder<RecommendSpecResponse.Builder> implements RecommendSpecResponseOrBuilder
Response message for
ModelService.RecommendSpec.
Protobuf type google.cloud.aiplatform.v1beta1.RecommendSpecResponse
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 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];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.Recommendation>
|
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];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec>
|
public RecommendSpecResponse.Builder addRecommendations(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];
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];
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];
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];
public RecommendSpecResponse.Recommendation.Builder 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];
public RecommendSpecResponse.Recommendation.Builder addRecommendationsBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
public RecommendSpecResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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];
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];
public RecommendSpecResponse.MachineAndModelContainerSpec.Builder addSpecsBuilder()
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.MachineAndModelContainerSpec.Builder addSpecsBuilder(int index)
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public RecommendSpecResponse build()
public RecommendSpecResponse buildPartial()
public RecommendSpecResponse.Builder clear()
Overrides
public RecommendSpecResponse.Builder clearBaseModel()
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public RecommendSpecResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public RecommendSpecResponse.Builder 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];
public RecommendSpecResponse.Builder clearSpecs()
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.Builder clone()
Overrides
public String getBaseModel()
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
String |
The baseModel.
|
public ByteString getBaseModelBytes()
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for baseModel.
|
public RecommendSpecResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public RecommendSpecResponse.Recommendation getRecommendations(int index)
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];
Parameter |
Name |
Description |
index |
int
|
public RecommendSpecResponse.Recommendation.Builder getRecommendationsBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
public List<RecommendSpecResponse.Recommendation.Builder> 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];
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];
Returns |
Type |
Description |
int |
|
public List<RecommendSpecResponse.Recommendation> 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];
public RecommendSpecResponse.RecommendationOrBuilder getRecommendationsOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.RecommendationOrBuilder> |
|
public RecommendSpecResponse.MachineAndModelContainerSpec getSpecs(int index)
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public RecommendSpecResponse.MachineAndModelContainerSpec.Builder getSpecsBuilder(int index)
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public List<RecommendSpecResponse.MachineAndModelContainerSpec.Builder> getSpecsBuilderList()
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
Returns |
Type |
Description |
int |
|
public List<RecommendSpecResponse.MachineAndModelContainerSpec> getSpecsList()
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public RecommendSpecResponse.MachineAndModelContainerSpecOrBuilder getSpecsOrBuilder(int index)
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
List<? extends com.google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpecOrBuilder> |
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public RecommendSpecResponse.Builder mergeFrom(RecommendSpecResponse other)
public RecommendSpecResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public RecommendSpecResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final RecommendSpecResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public RecommendSpecResponse.Builder removeRecommendations(int index)
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];
Parameter |
Name |
Description |
index |
int
|
public RecommendSpecResponse.Builder removeSpecs(int index)
Output only. The machine and model container specs.
repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
|
public RecommendSpecResponse.Builder setBaseModel(String value)
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
String
The baseModel to set.
|
public RecommendSpecResponse.Builder setBaseModelBytes(ByteString value)
Output only. The base model used to finetune the custom model.
string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
value |
ByteString
The bytes for baseModel to set.
|
public RecommendSpecResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
public RecommendSpecResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
public final RecommendSpecResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides