Class Explain.ExprStep.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<Explain.ExprStep,Explain.ExprStep.Builder>
com.google.api.expr.v1alpha1.Explain.ExprStep.Builder
All Implemented Interfaces:
Explain.ExprStepOrBuilder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, Cloneable
Enclosing class:
Explain.ExprStep

public static final class Explain.ExprStep.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Explain.ExprStep,Explain.ExprStep.Builder> implements Explain.ExprStepOrBuilder
 ID and value index of one step.
 
Protobuf type google.api.expr.v1alpha1.Explain.ExprStep
  • Field Summary

    Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    instance
  • Method Summary

    Modifier and Type
    Method
    Description
    ID of corresponding Expr node.
    Index of the value in the values list.
    long
    ID of corresponding Expr node.
    int
    Index of the value in the values list.
    setId(long value)
    ID of corresponding Expr node.
    setValueIndex(int value)
    Index of the value in the values list.

    Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

    build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getId

      public long getId()
       ID of corresponding Expr node.
       
      int64 id = 1 [json_name = "id"];
      Specified by:
      getId in interface Explain.ExprStepOrBuilder
      Returns:
      The id.
    • setId

      public Explain.ExprStep.Builder setId(long value)
       ID of corresponding Expr node.
       
      int64 id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Explain.ExprStep.Builder clearId()
       ID of corresponding Expr node.
       
      int64 id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • getValueIndex

      public int getValueIndex()
       Index of the value in the values list.
       
      int32 value_index = 2 [json_name = "valueIndex"];
      Specified by:
      getValueIndex in interface Explain.ExprStepOrBuilder
      Returns:
      The valueIndex.
    • setValueIndex

      public Explain.ExprStep.Builder setValueIndex(int value)
       Index of the value in the values list.
       
      int32 value_index = 2 [json_name = "valueIndex"];
      Parameters:
      value - The valueIndex to set.
      Returns:
      This builder for chaining.
    • clearValueIndex

      public Explain.ExprStep.Builder clearValueIndex()
       Index of the value in the values list.
       
      int32 value_index = 2 [json_name = "valueIndex"];
      Returns:
      This builder for chaining.