Class GandivaTypes.Field

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.arrow.gandiva.ipc.GandivaTypes.Field
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, GandivaTypes.FieldOrBuilder
Enclosing class:
GandivaTypes

public static final class GandivaTypes.Field extends com.google.protobuf.GeneratedMessage implements GandivaTypes.FieldOrBuilder
Protobuf type gandiva.types.Field
See Also:
  • Field Details

  • 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
    • hasName

      public boolean hasName()
       name of the field
       
      optional string name = 1;
      Specified by:
      hasName in interface GandivaTypes.FieldOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       name of the field
       
      optional string name = 1;
      Specified by:
      getName in interface GandivaTypes.FieldOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       name of the field
       
      optional string name = 1;
      Specified by:
      getNameBytes in interface GandivaTypes.FieldOrBuilder
      Returns:
      The bytes for name.
    • hasType

      public boolean hasType()
      optional .gandiva.types.ExtGandivaType type = 2;
      Specified by:
      hasType in interface GandivaTypes.FieldOrBuilder
      Returns:
      Whether the type field is set.
    • getType

      public GandivaTypes.ExtGandivaType getType()
      optional .gandiva.types.ExtGandivaType type = 2;
      Specified by:
      getType in interface GandivaTypes.FieldOrBuilder
      Returns:
      The type.
    • getTypeOrBuilder

      public GandivaTypes.ExtGandivaTypeOrBuilder getTypeOrBuilder()
      optional .gandiva.types.ExtGandivaType type = 2;
      Specified by:
      getTypeOrBuilder in interface GandivaTypes.FieldOrBuilder
    • hasNullable

      public boolean hasNullable()
      optional bool nullable = 3;
      Specified by:
      hasNullable in interface GandivaTypes.FieldOrBuilder
      Returns:
      Whether the nullable field is set.
    • getNullable

      public boolean getNullable()
      optional bool nullable = 3;
      Specified by:
      getNullable in interface GandivaTypes.FieldOrBuilder
      Returns:
      The nullable.
    • getChildrenList

      public List<GandivaTypes.Field> getChildrenList()
       for complex data types like structs, unions
       
      repeated .gandiva.types.Field children = 4;
      Specified by:
      getChildrenList in interface GandivaTypes.FieldOrBuilder
    • getChildrenOrBuilderList

      public List<? extends GandivaTypes.FieldOrBuilder> getChildrenOrBuilderList()
       for complex data types like structs, unions
       
      repeated .gandiva.types.Field children = 4;
      Specified by:
      getChildrenOrBuilderList in interface GandivaTypes.FieldOrBuilder
    • getChildrenCount

      public int getChildrenCount()
       for complex data types like structs, unions
       
      repeated .gandiva.types.Field children = 4;
      Specified by:
      getChildrenCount in interface GandivaTypes.FieldOrBuilder
    • getChildren

      public GandivaTypes.Field getChildren(int index)
       for complex data types like structs, unions
       
      repeated .gandiva.types.Field children = 4;
      Specified by:
      getChildren in interface GandivaTypes.FieldOrBuilder
    • getChildrenOrBuilder

      public GandivaTypes.FieldOrBuilder getChildrenOrBuilder(int index)
       for complex data types like structs, unions
       
      repeated .gandiva.types.Field children = 4;
      Specified by:
      getChildrenOrBuilder in interface GandivaTypes.FieldOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 GandivaTypes.Field parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GandivaTypes.Field parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GandivaTypes.Field parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GandivaTypes.Field parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GandivaTypes.Field parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static GandivaTypes.Field parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static GandivaTypes.Field parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static GandivaTypes.Field parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public GandivaTypes.Field.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static GandivaTypes.Field.Builder newBuilder()
    • newBuilder

      public static GandivaTypes.Field.Builder newBuilder(GandivaTypes.Field prototype)
    • toBuilder

      public GandivaTypes.Field.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected GandivaTypes.Field.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static GandivaTypes.Field getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GandivaTypes.Field> parser()
    • getParserForType

      public com.google.protobuf.Parser<GandivaTypes.Field> 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.GeneratedMessage
    • getDefaultInstanceForType

      public GandivaTypes.Field getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder