Package dev.cel.expr
Interface SourceInfo.ExtensionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SourceInfo.Extension
,SourceInfo.Extension.Builder
- Enclosing class:
- SourceInfo
public static interface SourceInfo.ExtensionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourceInfo.Extension.Component
getAffectedComponents(int index)
If set, the listed components must understand the extension for the expression to evaluate correctly.int
getAffectedComponentsCount()
If set, the listed components must understand the extension for the expression to evaluate correctly.java.util.List<SourceInfo.Extension.Component>
getAffectedComponentsList()
If set, the listed components must understand the extension for the expression to evaluate correctly.int
getAffectedComponentsValue(int index)
If set, the listed components must understand the extension for the expression to evaluate correctly.java.util.List<java.lang.Integer>
getAffectedComponentsValueList()
If set, the listed components must understand the extension for the expression to evaluate correctly.java.lang.String
getId()
Identifier for the extension.com.google.protobuf.ByteString
getIdBytes()
Identifier for the extension.SourceInfo.Extension.Version
getVersion()
Version info.SourceInfo.Extension.VersionOrBuilder
getVersionOrBuilder()
Version info.boolean
hasVersion()
Version info.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
java.lang.String getId()
Identifier for the extension. Example: constant_folding
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Identifier for the extension. Example: constant_folding
string id = 1;
- Returns:
- The bytes for id.
-
getAffectedComponentsList
java.util.List<SourceInfo.Extension.Component> getAffectedComponentsList()
If set, the listed components must understand the extension for the expression to evaluate correctly. This field has set semantics, repeated values should be deduplicated.
repeated .cel.expr.SourceInfo.Extension.Component affected_components = 2;
- Returns:
- A list containing the affectedComponents.
-
getAffectedComponentsCount
int getAffectedComponentsCount()
If set, the listed components must understand the extension for the expression to evaluate correctly. This field has set semantics, repeated values should be deduplicated.
repeated .cel.expr.SourceInfo.Extension.Component affected_components = 2;
- Returns:
- The count of affectedComponents.
-
getAffectedComponents
SourceInfo.Extension.Component getAffectedComponents(int index)
If set, the listed components must understand the extension for the expression to evaluate correctly. This field has set semantics, repeated values should be deduplicated.
repeated .cel.expr.SourceInfo.Extension.Component affected_components = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The affectedComponents at the given index.
-
getAffectedComponentsValueList
java.util.List<java.lang.Integer> getAffectedComponentsValueList()
If set, the listed components must understand the extension for the expression to evaluate correctly. This field has set semantics, repeated values should be deduplicated.
repeated .cel.expr.SourceInfo.Extension.Component affected_components = 2;
- Returns:
- A list containing the enum numeric values on the wire for affectedComponents.
-
getAffectedComponentsValue
int getAffectedComponentsValue(int index)
If set, the listed components must understand the extension for the expression to evaluate correctly. This field has set semantics, repeated values should be deduplicated.
repeated .cel.expr.SourceInfo.Extension.Component affected_components = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of affectedComponents at the given index.
-
hasVersion
boolean hasVersion()
Version info. May be skipped if it isn't meaningful for the extension. (for example constant_folding might always be v0.0).
.cel.expr.SourceInfo.Extension.Version version = 3;
- Returns:
- Whether the version field is set.
-
getVersion
SourceInfo.Extension.Version getVersion()
Version info. May be skipped if it isn't meaningful for the extension. (for example constant_folding might always be v0.0).
.cel.expr.SourceInfo.Extension.Version version = 3;
- Returns:
- The version.
-
getVersionOrBuilder
SourceInfo.Extension.VersionOrBuilder getVersionOrBuilder()
Version info. May be skipped if it isn't meaningful for the extension. (for example constant_folding might always be v0.0).
.cel.expr.SourceInfo.Extension.Version version = 3;
-
-