Class EvaluatedAnnotationExplanation.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluatedAnnotationExplanation.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.GeneratedMessageV3.Builder<EvaluatedAnnotationExplanation.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<EvaluatedAnnotationExplanation.Builder>
      • getExplanationType

        public String getExplanationType()
         Explanation type.
        
         For AutoML Image Classification models, possible values are:
        
           * `image-integrated-gradients`
           * `image-xrai`
         
        string explanation_type = 1;
        Specified by:
        getExplanationType in interface EvaluatedAnnotationExplanationOrBuilder
        Returns:
        The explanationType.
      • getExplanationTypeBytes

        public com.google.protobuf.ByteString getExplanationTypeBytes()
         Explanation type.
        
         For AutoML Image Classification models, possible values are:
        
           * `image-integrated-gradients`
           * `image-xrai`
         
        string explanation_type = 1;
        Specified by:
        getExplanationTypeBytes in interface EvaluatedAnnotationExplanationOrBuilder
        Returns:
        The bytes for explanationType.
      • setExplanationType

        public EvaluatedAnnotationExplanation.Builder setExplanationType​(String value)
         Explanation type.
        
         For AutoML Image Classification models, possible values are:
        
           * `image-integrated-gradients`
           * `image-xrai`
         
        string explanation_type = 1;
        Parameters:
        value - The explanationType to set.
        Returns:
        This builder for chaining.
      • clearExplanationType

        public EvaluatedAnnotationExplanation.Builder clearExplanationType()
         Explanation type.
        
         For AutoML Image Classification models, possible values are:
        
           * `image-integrated-gradients`
           * `image-xrai`
         
        string explanation_type = 1;
        Returns:
        This builder for chaining.
      • setExplanationTypeBytes

        public EvaluatedAnnotationExplanation.Builder setExplanationTypeBytes​(com.google.protobuf.ByteString value)
         Explanation type.
        
         For AutoML Image Classification models, possible values are:
        
           * `image-integrated-gradients`
           * `image-xrai`
         
        string explanation_type = 1;
        Parameters:
        value - The bytes for explanationType to set.
        Returns:
        This builder for chaining.
      • hasExplanation

        public boolean hasExplanation()
         Explanation attribution response details.
         
        .google.cloud.aiplatform.v1.Explanation explanation = 2;
        Specified by:
        hasExplanation in interface EvaluatedAnnotationExplanationOrBuilder
        Returns:
        Whether the explanation field is set.
      • getExplanationBuilder

        public Explanation.Builder getExplanationBuilder()
         Explanation attribution response details.
         
        .google.cloud.aiplatform.v1.Explanation explanation = 2;