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
Modifier and TypeClassDescriptionstatic final class
An extension that was requested for the source expression.static enum
CEL component specifier.static final class
Versionstatic interface
Nested 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
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(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.int
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.int
getAffectedComponentsValue
(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.Extension
getId()
Identifier for the extension.com.google.protobuf.ByteString
Identifier for the extension.Version info.boolean
Version info.static SourceInfo.Extension.Builder
static SourceInfo.Extension.Builder
newBuilder
(SourceInfo.Extension prototype) static SourceInfo.Extension
parseDelimitedFrom
(InputStream input) static SourceInfo.Extension
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.Extension
parseFrom
(byte[] data) static SourceInfo.Extension
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.Extension
parseFrom
(com.google.protobuf.ByteString data) static SourceInfo.Extension
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.Extension
parseFrom
(com.google.protobuf.CodedInputStream input) static SourceInfo.Extension
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.Extension
parseFrom
(InputStream input) static SourceInfo.Extension
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SourceInfo.Extension
parseFrom
(ByteBuffer data) static SourceInfo.Extension
parseFrom
(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, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
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.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:
getId
in 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:
getIdBytes
in 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:
getAffectedComponentsList
in 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:
getAffectedComponentsCount
in 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:
getAffectedComponents
in 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:
getAffectedComponentsValueList
in 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:
getAffectedComponentsValue
in 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:
hasVersion
in 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:
getVersion
in 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:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<SourceInfo.Extension,
SourceInfo.Extension.Builder>
-
getDefaultInstance
-
parser
-