Class Capabilities

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.Capabilities
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CapabilitiesOrBuilder, Serializable

public final class Capabilities extends com.google.protobuf.GeneratedMessageV3 implements CapabilitiesOrBuilder
 Defines a set of Capabilities that a system (producer or consumer) supports.
 
Protobuf type substrait.Capabilities
See Also:
  • Field Details

    • SUBSTRAIT_VERSIONS_FIELD_NUMBER

      public static final int SUBSTRAIT_VERSIONS_FIELD_NUMBER
      See Also:
    • ADVANCED_EXTENSION_TYPE_URLS_FIELD_NUMBER

      public static final int ADVANCED_EXTENSION_TYPE_URLS_FIELD_NUMBER
      See Also:
    • SIMPLE_EXTENSIONS_FIELD_NUMBER

      public static final int SIMPLE_EXTENSIONS_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
    • getSubstraitVersionsList

      public com.google.protobuf.ProtocolStringList getSubstraitVersionsList()
       List of Substrait versions this system supports
       
      repeated string substrait_versions = 1;
      Specified by:
      getSubstraitVersionsList in interface CapabilitiesOrBuilder
      Returns:
      A list containing the substraitVersions.
    • getSubstraitVersionsCount

      public int getSubstraitVersionsCount()
       List of Substrait versions this system supports
       
      repeated string substrait_versions = 1;
      Specified by:
      getSubstraitVersionsCount in interface CapabilitiesOrBuilder
      Returns:
      The count of substraitVersions.
    • getSubstraitVersions

      public String getSubstraitVersions(int index)
       List of Substrait versions this system supports
       
      repeated string substrait_versions = 1;
      Specified by:
      getSubstraitVersions in interface CapabilitiesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The substraitVersions at the given index.
    • getSubstraitVersionsBytes

      public com.google.protobuf.ByteString getSubstraitVersionsBytes(int index)
       List of Substrait versions this system supports
       
      repeated string substrait_versions = 1;
      Specified by:
      getSubstraitVersionsBytes in interface CapabilitiesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the substraitVersions at the given index.
    • getAdvancedExtensionTypeUrlsList

      public com.google.protobuf.ProtocolStringList getAdvancedExtensionTypeUrlsList()
       list of com.google.Any message types this system supports for advanced
       extensions.
       
      repeated string advanced_extension_type_urls = 2;
      Specified by:
      getAdvancedExtensionTypeUrlsList in interface CapabilitiesOrBuilder
      Returns:
      A list containing the advancedExtensionTypeUrls.
    • getAdvancedExtensionTypeUrlsCount

      public int getAdvancedExtensionTypeUrlsCount()
       list of com.google.Any message types this system supports for advanced
       extensions.
       
      repeated string advanced_extension_type_urls = 2;
      Specified by:
      getAdvancedExtensionTypeUrlsCount in interface CapabilitiesOrBuilder
      Returns:
      The count of advancedExtensionTypeUrls.
    • getAdvancedExtensionTypeUrls

      public String getAdvancedExtensionTypeUrls(int index)
       list of com.google.Any message types this system supports for advanced
       extensions.
       
      repeated string advanced_extension_type_urls = 2;
      Specified by:
      getAdvancedExtensionTypeUrls in interface CapabilitiesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The advancedExtensionTypeUrls at the given index.
    • getAdvancedExtensionTypeUrlsBytes

      public com.google.protobuf.ByteString getAdvancedExtensionTypeUrlsBytes(int index)
       list of com.google.Any message types this system supports for advanced
       extensions.
       
      repeated string advanced_extension_type_urls = 2;
      Specified by:
      getAdvancedExtensionTypeUrlsBytes in interface CapabilitiesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the advancedExtensionTypeUrls at the given index.
    • getSimpleExtensionsList

      public List<Capabilities.SimpleExtension> getSimpleExtensionsList()
       list of simple extensions this system supports.
       
      repeated .substrait.Capabilities.SimpleExtension simple_extensions = 3;
      Specified by:
      getSimpleExtensionsList in interface CapabilitiesOrBuilder
    • getSimpleExtensionsOrBuilderList

      public List<? extends Capabilities.SimpleExtensionOrBuilder> getSimpleExtensionsOrBuilderList()
       list of simple extensions this system supports.
       
      repeated .substrait.Capabilities.SimpleExtension simple_extensions = 3;
      Specified by:
      getSimpleExtensionsOrBuilderList in interface CapabilitiesOrBuilder
    • getSimpleExtensionsCount

      public int getSimpleExtensionsCount()
       list of simple extensions this system supports.
       
      repeated .substrait.Capabilities.SimpleExtension simple_extensions = 3;
      Specified by:
      getSimpleExtensionsCount in interface CapabilitiesOrBuilder
    • getSimpleExtensions

      public Capabilities.SimpleExtension getSimpleExtensions(int index)
       list of simple extensions this system supports.
       
      repeated .substrait.Capabilities.SimpleExtension simple_extensions = 3;
      Specified by:
      getSimpleExtensions in interface CapabilitiesOrBuilder
    • getSimpleExtensionsOrBuilder

      public Capabilities.SimpleExtensionOrBuilder getSimpleExtensionsOrBuilder(int index)
       list of simple extensions this system supports.
       
      repeated .substrait.Capabilities.SimpleExtension simple_extensions = 3;
      Specified by:
      getSimpleExtensionsOrBuilder in interface CapabilitiesOrBuilder
    • 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 Capabilities parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static Capabilities parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Capabilities parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static Capabilities.Builder newBuilder()
    • newBuilder

      public static Capabilities.Builder newBuilder(Capabilities prototype)
    • toBuilder

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

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

      public static Capabilities getDefaultInstance()
    • parser

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

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