Package com.google.api.expr.v1alpha1
Class SourceInfo.Extension
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<SourceInfo.Extension,SourceInfo.Extension.Builder>
com.google.api.expr.v1alpha1.SourceInfo.Extension
- All Implemented Interfaces:
SourceInfo.ExtensionOrBuilder,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder
- Enclosing class:
- SourceInfo
public static final class SourceInfo.Extension
extends com.google.protobuf.GeneratedMessageLite<SourceInfo.Extension,SourceInfo.Extension.Builder>
implements SourceInfo.ExtensionOrBuilder
An extension that was requested for the source expression.Protobuf type
google.api.expr.v1alpha1.SourceInfo.Extension-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn extension that was requested for the source expression.static enumCEL component specifier.static final classVersionstatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm 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 intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getAffectedComponents(int index) If set, the listed components must understand the extension for the expression to evaluate correctly.intIf set, the listed components must understand the extension for the expression to evaluate correctly.If set, the listed components must understand the extension for the expression to evaluate correctly.intgetAffectedComponentsValue(int index) If set, the listed components must understand the extension for the expression to evaluate correctly.If set, the listed components must understand the extension for the expression to evaluate correctly.static SourceInfo.ExtensiongetId()Identifier for the extension.com.google.protobuf.ByteStringIdentifier for the extension.Version info.booleanVersion info.static SourceInfo.Extension.Builderstatic SourceInfo.Extension.BuildernewBuilder(SourceInfo.Extension prototype) static SourceInfo.ExtensionparseDelimitedFrom(InputStream input) static SourceInfo.ExtensionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.ExtensionparseFrom(byte[] data) static SourceInfo.ExtensionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.ExtensionparseFrom(com.google.protobuf.ByteString data) static SourceInfo.ExtensionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.ExtensionparseFrom(com.google.protobuf.CodedInputStream input) static SourceInfo.ExtensionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.ExtensionparseFrom(InputStream input) static SourceInfo.ExtensionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.ExtensionparseFrom(ByteBuffer data) static SourceInfo.ExtensionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SourceInfo.Extension>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
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.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
AFFECTED_COMPONENTS_FIELD_NUMBER
public static final int AFFECTED_COMPONENTS_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
-
Method Details
-
getId
Identifier for the extension. Example: constant_folding
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceSourceInfo.ExtensionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Identifier for the extension. Example: constant_folding
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceSourceInfo.ExtensionOrBuilder- Returns:
- The bytes for id.
-
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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];- Specified by:
getAffectedComponentsListin interfaceSourceInfo.ExtensionOrBuilder- Returns:
- A list containing the affectedComponents.
-
getAffectedComponentsCount
public 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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];- Specified by:
getAffectedComponentsCountin interfaceSourceInfo.ExtensionOrBuilder- Returns:
- The count of affectedComponents.
-
getAffectedComponents
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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];- Specified by:
getAffectedComponentsin interfaceSourceInfo.ExtensionOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The affectedComponents at the given index.
-
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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];- Specified by:
getAffectedComponentsValueListin interfaceSourceInfo.ExtensionOrBuilder- Returns:
- A list containing the enum numeric values on the wire for affectedComponents.
-
getAffectedComponentsValue
public 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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];- Specified by:
getAffectedComponentsValuein interfaceSourceInfo.ExtensionOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of affectedComponents at the given index.
-
hasVersion
public boolean hasVersion()Version info. May be skipped if it isn't meaningful for the extension. (for example constant_folding might always be v0.0).
.google.api.expr.v1alpha1.SourceInfo.Extension.Version version = 3 [json_name = "version"];- Specified by:
hasVersionin interfaceSourceInfo.ExtensionOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
Version info. May be skipped if it isn't meaningful for the extension. (for example constant_folding might always be v0.0).
.google.api.expr.v1alpha1.SourceInfo.Extension.Version version = 3 [json_name = "version"];- Specified by:
getVersionin interfaceSourceInfo.ExtensionOrBuilder- Returns:
- The version.
-
parseFrom
public static SourceInfo.Extension parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo.Extension parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo.Extension parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo.Extension parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo.Extension parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SourceInfo.Extension parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SourceInfo.Extension parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SourceInfo.Extension parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SourceInfo.Extension parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SourceInfo.Extension parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<SourceInfo.Extension,SourceInfo.Extension.Builder>
-
getDefaultInstance
-
parser
-