Class LibrarySubset

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
cel.dev.expr.conformance.LibrarySubset
All Implemented Interfaces:
LibrarySubsetOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class LibrarySubset extends com.google.protobuf.GeneratedMessageV3 implements LibrarySubsetOrBuilder
 LibrarySubset indicates a subset of the macros and functions supported by a
 subsettable library.
 
Protobuf type cel.expr.conformance.LibrarySubset
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    LibrarySubset indicates a subset of the macros and functions supported by a subsettable library.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    boolean
    Indicates whether the library has been disabled, typically only used for default-enabled libraries like stdlib.
    boolean
    Disables macros for the given library.
    Specifies the set of functions to exclude from the subset.
    int
    Specifies the set of functions to exclude from the subset.
    Specifies the set of functions to exclude from the subset.
    Specifies the set of functions to exclude from the subset.
    List<? extends DeclOrBuilder>
    Specifies the set of functions to exclude from the subset.
    getExcludeMacros(int index)
    Specifies a set of macro function names to exclude from the subset.
    com.google.protobuf.ByteString
    Specifies a set of macro function names to exclude from the subset.
    int
    Specifies a set of macro function names to exclude from the subset.
    com.google.protobuf.ProtocolStringList
    Specifies a set of macro function names to exclude from the subset.
    Specifies a set of functions to include in the subset.
    int
    Specifies a set of functions to include in the subset.
    Specifies a set of functions to include in the subset.
    Specifies a set of functions to include in the subset.
    List<? extends DeclOrBuilder>
    Specifies a set of functions to include in the subset.
    getIncludeMacros(int index)
    Specifies a set of macro function names to include in the subset.
    com.google.protobuf.ByteString
    Specifies a set of macro function names to include in the subset.
    int
    Specifies a set of macro function names to include in the subset.
    com.google.protobuf.ProtocolStringList
    Specifies a set of macro function names to include in the subset.
    com.google.protobuf.Parser<LibrarySubset>
     
    int
     
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<LibrarySubset>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • DISABLED_FIELD_NUMBER

      public static final int DISABLED_FIELD_NUMBER
      See Also:
    • DISABLE_MACROS_FIELD_NUMBER

      public static final int DISABLE_MACROS_FIELD_NUMBER
      See Also:
    • INCLUDE_MACROS_FIELD_NUMBER

      public static final int INCLUDE_MACROS_FIELD_NUMBER
      See Also:
    • EXCLUDE_MACROS_FIELD_NUMBER

      public static final int EXCLUDE_MACROS_FIELD_NUMBER
      See Also:
    • INCLUDE_FUNCTIONS_FIELD_NUMBER

      public static final int INCLUDE_FUNCTIONS_FIELD_NUMBER
      See Also:
    • EXCLUDE_FUNCTIONS_FIELD_NUMBER

      public static final int EXCLUDE_FUNCTIONS_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
    • getDisabled

      public boolean getDisabled()
       Indicates whether the library has been disabled, typically only
       used for default-enabled libraries like stdlib.
       
      bool disabled = 1;
      Specified by:
      getDisabled in interface LibrarySubsetOrBuilder
      Returns:
      The disabled.
    • getDisableMacros

      public boolean getDisableMacros()
       Disables macros for the given library.
       
      bool disable_macros = 2;
      Specified by:
      getDisableMacros in interface LibrarySubsetOrBuilder
      Returns:
      The disableMacros.
    • getIncludeMacrosList

      public com.google.protobuf.ProtocolStringList getIncludeMacrosList()
       Specifies a set of macro function names to include in the subset.
       
      repeated string include_macros = 3;
      Specified by:
      getIncludeMacrosList in interface LibrarySubsetOrBuilder
      Returns:
      A list containing the includeMacros.
    • getIncludeMacrosCount

      public int getIncludeMacrosCount()
       Specifies a set of macro function names to include in the subset.
       
      repeated string include_macros = 3;
      Specified by:
      getIncludeMacrosCount in interface LibrarySubsetOrBuilder
      Returns:
      The count of includeMacros.
    • getIncludeMacros

      public String getIncludeMacros(int index)
       Specifies a set of macro function names to include in the subset.
       
      repeated string include_macros = 3;
      Specified by:
      getIncludeMacros in interface LibrarySubsetOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The includeMacros at the given index.
    • getIncludeMacrosBytes

      public com.google.protobuf.ByteString getIncludeMacrosBytes(int index)
       Specifies a set of macro function names to include in the subset.
       
      repeated string include_macros = 3;
      Specified by:
      getIncludeMacrosBytes in interface LibrarySubsetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the includeMacros at the given index.
    • getExcludeMacrosList

      public com.google.protobuf.ProtocolStringList getExcludeMacrosList()
       Specifies a set of macro function names to exclude from the subset.
       Note: if IncludeMacros is non-empty, then ExcludeFunctions is ignored.
       
      repeated string exclude_macros = 4;
      Specified by:
      getExcludeMacrosList in interface LibrarySubsetOrBuilder
      Returns:
      A list containing the excludeMacros.
    • getExcludeMacrosCount

      public int getExcludeMacrosCount()
       Specifies a set of macro function names to exclude from the subset.
       Note: if IncludeMacros is non-empty, then ExcludeFunctions is ignored.
       
      repeated string exclude_macros = 4;
      Specified by:
      getExcludeMacrosCount in interface LibrarySubsetOrBuilder
      Returns:
      The count of excludeMacros.
    • getExcludeMacros

      public String getExcludeMacros(int index)
       Specifies a set of macro function names to exclude from the subset.
       Note: if IncludeMacros is non-empty, then ExcludeFunctions is ignored.
       
      repeated string exclude_macros = 4;
      Specified by:
      getExcludeMacros in interface LibrarySubsetOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The excludeMacros at the given index.
    • getExcludeMacrosBytes

      public com.google.protobuf.ByteString getExcludeMacrosBytes(int index)
       Specifies a set of macro function names to exclude from the subset.
       Note: if IncludeMacros is non-empty, then ExcludeFunctions is ignored.
       
      repeated string exclude_macros = 4;
      Specified by:
      getExcludeMacrosBytes in interface LibrarySubsetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the excludeMacros at the given index.
    • getIncludeFunctionsList

      public List<Decl> getIncludeFunctionsList()
       Specifies a set of functions to include in the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       Note: if IncludeFunctions is non-empty, then ExcludeFunctions is ignored.
       
      repeated .cel.expr.Decl include_functions = 5;
      Specified by:
      getIncludeFunctionsList in interface LibrarySubsetOrBuilder
    • getIncludeFunctionsOrBuilderList

      public List<? extends DeclOrBuilder> getIncludeFunctionsOrBuilderList()
       Specifies a set of functions to include in the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       Note: if IncludeFunctions is non-empty, then ExcludeFunctions is ignored.
       
      repeated .cel.expr.Decl include_functions = 5;
      Specified by:
      getIncludeFunctionsOrBuilderList in interface LibrarySubsetOrBuilder
    • getIncludeFunctionsCount

      public int getIncludeFunctionsCount()
       Specifies a set of functions to include in the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       Note: if IncludeFunctions is non-empty, then ExcludeFunctions is ignored.
       
      repeated .cel.expr.Decl include_functions = 5;
      Specified by:
      getIncludeFunctionsCount in interface LibrarySubsetOrBuilder
    • getIncludeFunctions

      public Decl getIncludeFunctions(int index)
       Specifies a set of functions to include in the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       Note: if IncludeFunctions is non-empty, then ExcludeFunctions is ignored.
       
      repeated .cel.expr.Decl include_functions = 5;
      Specified by:
      getIncludeFunctions in interface LibrarySubsetOrBuilder
    • getIncludeFunctionsOrBuilder

      public DeclOrBuilder getIncludeFunctionsOrBuilder(int index)
       Specifies a set of functions to include in the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       Note: if IncludeFunctions is non-empty, then ExcludeFunctions is ignored.
       
      repeated .cel.expr.Decl include_functions = 5;
      Specified by:
      getIncludeFunctionsOrBuilder in interface LibrarySubsetOrBuilder
    • getExcludeFunctionsList

      public List<Decl> getExcludeFunctionsList()
       Specifies the set of functions to exclude from the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       
      repeated .cel.expr.Decl exclude_functions = 6;
      Specified by:
      getExcludeFunctionsList in interface LibrarySubsetOrBuilder
    • getExcludeFunctionsOrBuilderList

      public List<? extends DeclOrBuilder> getExcludeFunctionsOrBuilderList()
       Specifies the set of functions to exclude from the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       
      repeated .cel.expr.Decl exclude_functions = 6;
      Specified by:
      getExcludeFunctionsOrBuilderList in interface LibrarySubsetOrBuilder
    • getExcludeFunctionsCount

      public int getExcludeFunctionsCount()
       Specifies the set of functions to exclude from the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       
      repeated .cel.expr.Decl exclude_functions = 6;
      Specified by:
      getExcludeFunctionsCount in interface LibrarySubsetOrBuilder
    • getExcludeFunctions

      public Decl getExcludeFunctions(int index)
       Specifies the set of functions to exclude from the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       
      repeated .cel.expr.Decl exclude_functions = 6;
      Specified by:
      getExcludeFunctions in interface LibrarySubsetOrBuilder
    • getExcludeFunctionsOrBuilder

      public DeclOrBuilder getExcludeFunctionsOrBuilder(int index)
       Specifies the set of functions to exclude from the subset.
      
       Note: the overloads specified in the subset need only specify their ID.
       
      repeated .cel.expr.Decl exclude_functions = 6;
      Specified by:
      getExcludeFunctionsOrBuilder in interface LibrarySubsetOrBuilder
    • 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 LibrarySubset parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static LibrarySubset.Builder newBuilder()
    • newBuilder

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

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

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

      public static LibrarySubset getDefaultInstance()
    • parser

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

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