Class Expression.Literal.UserDefined

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Expression.Literal.UserDefined
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Expression.Literal.UserDefinedOrBuilder, Serializable
Enclosing class:
Expression.Literal

public static final class Expression.Literal.UserDefined extends com.google.protobuf.GeneratedMessageV3 implements Expression.Literal.UserDefinedOrBuilder
Protobuf type substrait.Expression.Literal.UserDefined
See Also:
  • Field Details

    • TYPE_REFERENCE_FIELD_NUMBER

      public static final int TYPE_REFERENCE_FIELD_NUMBER
      See Also:
    • TYPE_PARAMETERS_FIELD_NUMBER

      public static final int TYPE_PARAMETERS_FIELD_NUMBER
      See Also:
    • VALUE_FIELD_NUMBER

      public static final int VALUE_FIELD_NUMBER
      See Also:
    • STRUCT_FIELD_NUMBER

      public static final int STRUCT_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getValCase

      Specified by:
      getValCase in interface Expression.Literal.UserDefinedOrBuilder
    • getTypeReference

      public int getTypeReference()
       points to a type_anchor defined in this plan
       
      uint32 type_reference = 1;
      Specified by:
      getTypeReference in interface Expression.Literal.UserDefinedOrBuilder
      Returns:
      The typeReference.
    • getTypeParametersList

      public List<Type.Parameter> getTypeParametersList()
       The parameters to be bound to the type class, if the type class is
       parameterizable.
       
      repeated .substrait.Type.Parameter type_parameters = 3;
      Specified by:
      getTypeParametersList in interface Expression.Literal.UserDefinedOrBuilder
    • getTypeParametersOrBuilderList

      public List<? extends Type.ParameterOrBuilder> getTypeParametersOrBuilderList()
       The parameters to be bound to the type class, if the type class is
       parameterizable.
       
      repeated .substrait.Type.Parameter type_parameters = 3;
      Specified by:
      getTypeParametersOrBuilderList in interface Expression.Literal.UserDefinedOrBuilder
    • getTypeParametersCount

      public int getTypeParametersCount()
       The parameters to be bound to the type class, if the type class is
       parameterizable.
       
      repeated .substrait.Type.Parameter type_parameters = 3;
      Specified by:
      getTypeParametersCount in interface Expression.Literal.UserDefinedOrBuilder
    • getTypeParameters

      public Type.Parameter getTypeParameters(int index)
       The parameters to be bound to the type class, if the type class is
       parameterizable.
       
      repeated .substrait.Type.Parameter type_parameters = 3;
      Specified by:
      getTypeParameters in interface Expression.Literal.UserDefinedOrBuilder
    • getTypeParametersOrBuilder

      public Type.ParameterOrBuilder getTypeParametersOrBuilder(int index)
       The parameters to be bound to the type class, if the type class is
       parameterizable.
       
      repeated .substrait.Type.Parameter type_parameters = 3;
      Specified by:
      getTypeParametersOrBuilder in interface Expression.Literal.UserDefinedOrBuilder
    • hasValue

      public boolean hasValue()
       the value of the literal, serialized using some type-specific protobuf message
       
      .google.protobuf.Any value = 2;
      Specified by:
      hasValue in interface Expression.Literal.UserDefinedOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public com.google.protobuf.Any getValue()
       the value of the literal, serialized using some type-specific protobuf message
       
      .google.protobuf.Any value = 2;
      Specified by:
      getValue in interface Expression.Literal.UserDefinedOrBuilder
      Returns:
      The value.
    • getValueOrBuilder

      public com.google.protobuf.AnyOrBuilder getValueOrBuilder()
       the value of the literal, serialized using some type-specific protobuf message
       
      .google.protobuf.Any value = 2;
      Specified by:
      getValueOrBuilder in interface Expression.Literal.UserDefinedOrBuilder
    • hasStruct

      public boolean hasStruct()
       the value of the literal, serialized using the structure definition in its declaration
       
      .substrait.Expression.Literal.Struct struct = 4;
      Specified by:
      hasStruct in interface Expression.Literal.UserDefinedOrBuilder
      Returns:
      Whether the struct field is set.
    • getStruct

      public Expression.Literal.Struct getStruct()
       the value of the literal, serialized using the structure definition in its declaration
       
      .substrait.Expression.Literal.Struct struct = 4;
      Specified by:
      getStruct in interface Expression.Literal.UserDefinedOrBuilder
      Returns:
      The struct.
    • getStructOrBuilder

      public Expression.Literal.StructOrBuilder getStructOrBuilder()
       the value of the literal, serialized using the structure definition in its declaration
       
      .substrait.Expression.Literal.Struct struct = 4;
      Specified by:
      getStructOrBuilder in interface Expression.Literal.UserDefinedOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Expression.Literal.UserDefined parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Expression.Literal.UserDefined parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Expression.Literal.UserDefined parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Expression.Literal.UserDefined.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Expression.Literal.UserDefined.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Expression.Literal.UserDefined.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Expression.Literal.UserDefined getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Expression.Literal.UserDefined> parser()
    • getParserForType

      public com.google.protobuf.Parser<Expression.Literal.UserDefined> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Expression.Literal.UserDefined getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder