Package gql

Class GqlTypes.TypeDescriptor

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
gql.GqlTypes.TypeDescriptor
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GqlTypes.TypeDescriptorOrBuilder, Serializable
Enclosing class:
GqlTypes

public static final class GqlTypes.TypeDescriptor extends com.google.protobuf.GeneratedMessage implements GqlTypes.TypeDescriptorOrBuilder
Protobuf type gql.TypeDescriptor
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
    • getTypeValue

      public int getTypeValue()
      .gql.GqlType type = 1;
      Specified by:
      getTypeValue in interface GqlTypes.TypeDescriptorOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

      public GqlTypes.GqlType getType()
      .gql.GqlType type = 1;
      Specified by:
      getType in interface GqlTypes.TypeDescriptorOrBuilder
      Returns:
      The type.
    • getNullable

      public boolean getNullable()
      bool nullable = 2;
      Specified by:
      getNullable in interface GqlTypes.TypeDescriptorOrBuilder
      Returns:
      The nullable.
    • hasElementType

      public boolean hasElementType()
       For LIST: element type
       
      .gql.TypeDescriptor element_type = 3;
      Specified by:
      hasElementType in interface GqlTypes.TypeDescriptorOrBuilder
      Returns:
      Whether the elementType field is set.
    • getElementType

      public GqlTypes.TypeDescriptor getElementType()
       For LIST: element type
       
      .gql.TypeDescriptor element_type = 3;
      Specified by:
      getElementType in interface GqlTypes.TypeDescriptorOrBuilder
      Returns:
      The elementType.
    • getElementTypeOrBuilder

      public GqlTypes.TypeDescriptorOrBuilder getElementTypeOrBuilder()
       For LIST: element type
       
      .gql.TypeDescriptor element_type = 3;
      Specified by:
      getElementTypeOrBuilder in interface GqlTypes.TypeDescriptorOrBuilder
    • getFieldsList

      public List<GqlTypes.FieldDescriptor> getFieldsList()
       For RECORD: field types
       
      repeated .gql.FieldDescriptor fields = 4;
      Specified by:
      getFieldsList in interface GqlTypes.TypeDescriptorOrBuilder
    • getFieldsOrBuilderList

      public List<? extends GqlTypes.FieldDescriptorOrBuilder> getFieldsOrBuilderList()
       For RECORD: field types
       
      repeated .gql.FieldDescriptor fields = 4;
      Specified by:
      getFieldsOrBuilderList in interface GqlTypes.TypeDescriptorOrBuilder
    • getFieldsCount

      public int getFieldsCount()
       For RECORD: field types
       
      repeated .gql.FieldDescriptor fields = 4;
      Specified by:
      getFieldsCount in interface GqlTypes.TypeDescriptorOrBuilder
    • getFields

      public GqlTypes.FieldDescriptor getFields(int index)
       For RECORD: field types
       
      repeated .gql.FieldDescriptor fields = 4;
      Specified by:
      getFields in interface GqlTypes.TypeDescriptorOrBuilder
    • getFieldsOrBuilder

      public GqlTypes.FieldDescriptorOrBuilder getFieldsOrBuilder(int index)
       For RECORD: field types
       
      repeated .gql.FieldDescriptor fields = 4;
      Specified by:
      getFieldsOrBuilder in interface GqlTypes.TypeDescriptorOrBuilder
    • 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 GqlTypes.TypeDescriptor parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static GqlTypes.TypeDescriptor parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static GqlTypes.TypeDescriptor parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static GqlTypes.TypeDescriptor.Builder newBuilder()
    • newBuilder

      public static GqlTypes.TypeDescriptor.Builder newBuilder(GqlTypes.TypeDescriptor prototype)
    • toBuilder

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

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

      public static GqlTypes.TypeDescriptor getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GqlTypes.TypeDescriptor> parser()
    • getParserForType

      public com.google.protobuf.Parser<GqlTypes.TypeDescriptor> 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 GqlTypes.TypeDescriptor getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder