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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RecommendSpecResponse.Builder>
    • getDefaultInstanceForType

      public RecommendSpecResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public RecommendSpecResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public RecommendSpecResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public RecommendSpecResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecommendSpecResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RecommendSpecResponse.Builder>
      Throws:
      IOException
    • getBaseModel

      public String getBaseModel()
       Output only. The base model used to finetune the custom model.
       
      string base_model = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBaseModel in interface RecommendSpecResponseOrBuilder
      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:
      getBaseModelBytes in interface RecommendSpecResponseOrBuilder
      Returns:
      The bytes for baseModel.
    • setBaseModel

      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];
      Parameters:
      value - The baseModel to set.
      Returns:
      This builder for chaining.
    • clearBaseModel

      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];
      Returns:
      This builder for chaining.
    • setBaseModelBytes

      public RecommendSpecResponse.Builder setBaseModelBytes(com.google.protobuf.ByteString value)
       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

      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];
      Specified by:
      getRecommendationsList in interface RecommendSpecResponseOrBuilder
    • 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:
      getRecommendationsCount in interface RecommendSpecResponseOrBuilder
    • getRecommendations

      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];
      Specified by:
      getRecommendations in interface RecommendSpecResponseOrBuilder
    • 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

       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

      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];
    • removeRecommendations

      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];
    • getRecommendationsBuilder

      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];
    • getRecommendationsOrBuilder

      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];
      Specified by:
      getRecommendationsOrBuilder in interface RecommendSpecResponseOrBuilder
    • 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:
      getRecommendationsOrBuilderList in interface RecommendSpecResponseOrBuilder
    • addRecommendationsBuilder

      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];
    • addRecommendationsBuilder

      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];
    • getRecommendationsBuilderList

      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];
    • 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:
      getSpecsList in interface RecommendSpecResponseOrBuilder
    • 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:
      getSpecsCount in interface RecommendSpecResponseOrBuilder
    • 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:
      getSpecs in interface RecommendSpecResponseOrBuilder
    • setSpecs

       Output only. The machine and model container specs.
       
      repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setSpecs

       Output only. The machine and model container specs.
       
      repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSpecs

       Output only. The machine and model container specs.
       
      repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSpecs

       Output only. The machine and model container specs.
       
      repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSpecs

       Output only. The machine and model container specs.
       
      repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addSpecs

       Output only. The machine and model container specs.
       
      repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllSpecs

       Output only. The machine and model container specs.
       
      repeated .google.cloud.aiplatform.v1beta1.RecommendSpecResponse.MachineAndModelContainerSpec specs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearSpecs

      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];
    • removeSpecs

      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];
    • 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:
      getSpecsOrBuilder in interface RecommendSpecResponseOrBuilder
    • 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:
      getSpecsOrBuilderList in interface RecommendSpecResponseOrBuilder
    • 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];