Package cel.dev.expr.conformance
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 ClassesModifier and TypeClassDescriptionstatic final classLibrarySubset 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
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic LibrarySubsetstatic final com.google.protobuf.Descriptors.DescriptorbooleanIndicates whether the library has been disabled, typically only used for default-enabled libraries like stdlib.booleanDisables macros for the given library.getExcludeFunctions(int index) Specifies the set of functions to exclude from the subset.intSpecifies the set of functions to exclude from the subset.Specifies the set of functions to exclude from the subset.getExcludeFunctionsOrBuilder(int index) 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.ByteStringgetExcludeMacrosBytes(int index) Specifies a set of macro function names to exclude from the subset.intSpecifies a set of macro function names to exclude from the subset.com.google.protobuf.ProtocolStringListSpecifies a set of macro function names to exclude from the subset.getIncludeFunctions(int index) Specifies a set of functions to include in the subset.intSpecifies a set of functions to include in the subset.Specifies a set of functions to include in the subset.getIncludeFunctionsOrBuilder(int index) 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.ByteStringgetIncludeMacrosBytes(int index) Specifies a set of macro function names to include in the subset.intSpecifies a set of macro function names to include in the subset.com.google.protobuf.ProtocolStringListSpecifies a set of macro function names to include in the subset.com.google.protobuf.Parser<LibrarySubset>intinthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic LibrarySubset.Builderstatic LibrarySubset.BuildernewBuilder(LibrarySubset prototype) protected LibrarySubset.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static LibrarySubsetparseDelimitedFrom(InputStream input) static LibrarySubsetparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LibrarySubsetparseFrom(byte[] data) static LibrarySubsetparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LibrarySubsetparseFrom(com.google.protobuf.ByteString data) static LibrarySubsetparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LibrarySubsetparseFrom(com.google.protobuf.CodedInputStream input) static LibrarySubsetparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LibrarySubsetparseFrom(InputStream input) static LibrarySubsetparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LibrarySubsetparseFrom(ByteBuffer data) static LibrarySubsetparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LibrarySubset>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods 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
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.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:
getDisabledin interfaceLibrarySubsetOrBuilder- Returns:
- The disabled.
-
getDisableMacros
public boolean getDisableMacros()Disables macros for the given library.
bool disable_macros = 2;- Specified by:
getDisableMacrosin interfaceLibrarySubsetOrBuilder- 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:
getIncludeMacrosListin interfaceLibrarySubsetOrBuilder- 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:
getIncludeMacrosCountin interfaceLibrarySubsetOrBuilder- Returns:
- The count of includeMacros.
-
getIncludeMacros
Specifies a set of macro function names to include in the subset.
repeated string include_macros = 3;- Specified by:
getIncludeMacrosin interfaceLibrarySubsetOrBuilder- 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:
getIncludeMacrosBytesin interfaceLibrarySubsetOrBuilder- 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:
getExcludeMacrosListin interfaceLibrarySubsetOrBuilder- 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:
getExcludeMacrosCountin interfaceLibrarySubsetOrBuilder- Returns:
- The count of excludeMacros.
-
getExcludeMacros
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:
getExcludeMacrosin interfaceLibrarySubsetOrBuilder- 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:
getExcludeMacrosBytesin interfaceLibrarySubsetOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludeMacros at the given index.
-
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:
getIncludeFunctionsListin interfaceLibrarySubsetOrBuilder
-
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:
getIncludeFunctionsOrBuilderListin interfaceLibrarySubsetOrBuilder
-
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:
getIncludeFunctionsCountin interfaceLibrarySubsetOrBuilder
-
getIncludeFunctions
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:
getIncludeFunctionsin interfaceLibrarySubsetOrBuilder
-
getIncludeFunctionsOrBuilder
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:
getIncludeFunctionsOrBuilderin interfaceLibrarySubsetOrBuilder
-
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:
getExcludeFunctionsListin interfaceLibrarySubsetOrBuilder
-
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:
getExcludeFunctionsOrBuilderListin interfaceLibrarySubsetOrBuilder
-
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:
getExcludeFunctionsCountin interfaceLibrarySubsetOrBuilder
-
getExcludeFunctions
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:
getExcludeFunctionsin interfaceLibrarySubsetOrBuilder
-
getExcludeFunctionsOrBuilder
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:
getExcludeFunctionsOrBuilderin interfaceLibrarySubsetOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static LibrarySubset parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LibrarySubset.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-