Class ExplainResponse.ConcurrentExplanation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExplainResponse.ConcurrentExplanation.Builder>
com.google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation.Builder
All Implemented Interfaces:
ExplainResponse.ConcurrentExplanationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ExplainResponse.ConcurrentExplanation

public static final class ExplainResponse.ConcurrentExplanation.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExplainResponse.ConcurrentExplanation.Builder> implements ExplainResponse.ConcurrentExplanationOrBuilder
 This message is a wrapper grouping Concurrent Explanations.
 
Protobuf type google.cloud.aiplatform.v1beta1.ExplainResponse.ConcurrentExplanation
  • 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<ExplainResponse.ConcurrentExplanation.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<ExplainResponse.ConcurrentExplanation.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<ExplainResponse.ConcurrentExplanation.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ExplainResponse.ConcurrentExplanation.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<ExplainResponse.ConcurrentExplanation.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<ExplainResponse.ConcurrentExplanation.Builder>
    • mergeFrom

      public ExplainResponse.ConcurrentExplanation.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<ExplainResponse.ConcurrentExplanation.Builder>
      Throws:
      IOException
    • getExplanationsList

      public List<Explanation> getExplanationsList()
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
      Specified by:
      getExplanationsList in interface ExplainResponse.ConcurrentExplanationOrBuilder
    • getExplanationsCount

      public int getExplanationsCount()
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
      Specified by:
      getExplanationsCount in interface ExplainResponse.ConcurrentExplanationOrBuilder
    • getExplanations

      public Explanation getExplanations(int index)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
      Specified by:
      getExplanations in interface ExplainResponse.ConcurrentExplanationOrBuilder
    • setExplanations

      public ExplainResponse.ConcurrentExplanation.Builder setExplanations(int index, Explanation value)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • setExplanations

      public ExplainResponse.ConcurrentExplanation.Builder setExplanations(int index, Explanation.Builder builderForValue)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • addExplanations

       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • addExplanations

      public ExplainResponse.ConcurrentExplanation.Builder addExplanations(int index, Explanation value)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • addExplanations

      public ExplainResponse.ConcurrentExplanation.Builder addExplanations(Explanation.Builder builderForValue)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • addExplanations

      public ExplainResponse.ConcurrentExplanation.Builder addExplanations(int index, Explanation.Builder builderForValue)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • addAllExplanations

      public ExplainResponse.ConcurrentExplanation.Builder addAllExplanations(Iterable<? extends Explanation> values)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • clearExplanations

       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • removeExplanations

      public ExplainResponse.ConcurrentExplanation.Builder removeExplanations(int index)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • getExplanationsBuilder

      public Explanation.Builder getExplanationsBuilder(int index)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • getExplanationsOrBuilder

      public ExplanationOrBuilder getExplanationsOrBuilder(int index)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
      Specified by:
      getExplanationsOrBuilder in interface ExplainResponse.ConcurrentExplanationOrBuilder
    • getExplanationsOrBuilderList

      public List<? extends ExplanationOrBuilder> getExplanationsOrBuilderList()
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
      Specified by:
      getExplanationsOrBuilderList in interface ExplainResponse.ConcurrentExplanationOrBuilder
    • addExplanationsBuilder

      public Explanation.Builder addExplanationsBuilder()
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • addExplanationsBuilder

      public Explanation.Builder addExplanationsBuilder(int index)
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;
    • getExplanationsBuilderList

      public List<Explanation.Builder> getExplanationsBuilderList()
       The explanations of the Model's
       [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
      
       It has the same number of elements as
       [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
       be explained.
       
      repeated .google.cloud.aiplatform.v1beta1.Explanation explanations = 1;