Class ExprProtos.Expr.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExprProtos.Expr.Builder>
dev.vortex.proto.ExprProtos.Expr.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, ExprProtos.ExprOrBuilder, Cloneable
Enclosing class:
ExprProtos.Expr

public static final class ExprProtos.Expr.Builder extends com.google.protobuf.GeneratedMessage.Builder<ExprProtos.Expr.Builder> implements ExprProtos.ExprOrBuilder
 Captures a generic representation of expressions in Vortex.
 Expression deserializers can be registered with a Vortex session to handle parsing this into
 an in-memory expression for execution.
 
Protobuf type vortex.expr.Expr
  • 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<ExprProtos.Expr.Builder>
    • clear

      public ExprProtos.Expr.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<ExprProtos.Expr.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<ExprProtos.Expr.Builder>
    • getDefaultInstanceForType

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

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

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

      public ExprProtos.Expr.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<ExprProtos.Expr.Builder>
    • mergeFrom

      public ExprProtos.Expr.Builder mergeFrom(ExprProtos.Expr other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<ExprProtos.Expr.Builder>
    • mergeFrom

      public ExprProtos.Expr.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<ExprProtos.Expr.Builder>
      Throws:
      IOException
    • getId

      public String getId()
      string id = 1;
      Specified by:
      getId in interface ExprProtos.ExprOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 1;
      Specified by:
      getIdBytes in interface ExprProtos.ExprOrBuilder
      Returns:
      The bytes for id.
    • setId

      public ExprProtos.Expr.Builder setId(String value)
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ExprProtos.Expr.Builder clearId()
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public ExprProtos.Expr.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getChildrenList

      public List<ExprProtos.Expr> getChildrenList()
      repeated .vortex.expr.Expr children = 2;
      Specified by:
      getChildrenList in interface ExprProtos.ExprOrBuilder
    • getChildrenCount

      public int getChildrenCount()
      repeated .vortex.expr.Expr children = 2;
      Specified by:
      getChildrenCount in interface ExprProtos.ExprOrBuilder
    • getChildren

      public ExprProtos.Expr getChildren(int index)
      repeated .vortex.expr.Expr children = 2;
      Specified by:
      getChildren in interface ExprProtos.ExprOrBuilder
    • setChildren

      public ExprProtos.Expr.Builder setChildren(int index, ExprProtos.Expr value)
      repeated .vortex.expr.Expr children = 2;
    • setChildren

      public ExprProtos.Expr.Builder setChildren(int index, ExprProtos.Expr.Builder builderForValue)
      repeated .vortex.expr.Expr children = 2;
    • addChildren

      public ExprProtos.Expr.Builder addChildren(ExprProtos.Expr value)
      repeated .vortex.expr.Expr children = 2;
    • addChildren

      public ExprProtos.Expr.Builder addChildren(int index, ExprProtos.Expr value)
      repeated .vortex.expr.Expr children = 2;
    • addChildren

      public ExprProtos.Expr.Builder addChildren(ExprProtos.Expr.Builder builderForValue)
      repeated .vortex.expr.Expr children = 2;
    • addChildren

      public ExprProtos.Expr.Builder addChildren(int index, ExprProtos.Expr.Builder builderForValue)
      repeated .vortex.expr.Expr children = 2;
    • addAllChildren

      public ExprProtos.Expr.Builder addAllChildren(Iterable<? extends ExprProtos.Expr> values)
      repeated .vortex.expr.Expr children = 2;
    • clearChildren

      public ExprProtos.Expr.Builder clearChildren()
      repeated .vortex.expr.Expr children = 2;
    • removeChildren

      public ExprProtos.Expr.Builder removeChildren(int index)
      repeated .vortex.expr.Expr children = 2;
    • getChildrenBuilder

      public ExprProtos.Expr.Builder getChildrenBuilder(int index)
      repeated .vortex.expr.Expr children = 2;
    • getChildrenOrBuilder

      public ExprProtos.ExprOrBuilder getChildrenOrBuilder(int index)
      repeated .vortex.expr.Expr children = 2;
      Specified by:
      getChildrenOrBuilder in interface ExprProtos.ExprOrBuilder
    • getChildrenOrBuilderList

      public List<? extends ExprProtos.ExprOrBuilder> getChildrenOrBuilderList()
      repeated .vortex.expr.Expr children = 2;
      Specified by:
      getChildrenOrBuilderList in interface ExprProtos.ExprOrBuilder
    • addChildrenBuilder

      public ExprProtos.Expr.Builder addChildrenBuilder()
      repeated .vortex.expr.Expr children = 2;
    • addChildrenBuilder

      public ExprProtos.Expr.Builder addChildrenBuilder(int index)
      repeated .vortex.expr.Expr children = 2;
    • getChildrenBuilderList

      public List<ExprProtos.Expr.Builder> getChildrenBuilderList()
      repeated .vortex.expr.Expr children = 2;
    • hasMetadata

      public boolean hasMetadata()
      optional bytes metadata = 3;
      Specified by:
      hasMetadata in interface ExprProtos.ExprOrBuilder
      Returns:
      Whether the metadata field is set.
    • getMetadata

      public com.google.protobuf.ByteString getMetadata()
      optional bytes metadata = 3;
      Specified by:
      getMetadata in interface ExprProtos.ExprOrBuilder
      Returns:
      The metadata.
    • setMetadata

      public ExprProtos.Expr.Builder setMetadata(com.google.protobuf.ByteString value)
      optional bytes metadata = 3;
      Parameters:
      value - The metadata to set.
      Returns:
      This builder for chaining.
    • clearMetadata

      public ExprProtos.Expr.Builder clearMetadata()
      optional bytes metadata = 3;
      Returns:
      This builder for chaining.