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 Classes
    Modifier and Type
    Class
    Description
    static final class 
    An extension that was requested for the source expression.
    static enum 
    CEL component specifier.
    static final class 
    Version
    static 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

    Fields
    Modifier and Type
    Field
    Description
    static 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 Type
    Method
    Description
    protected final Object
    dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
     
    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
    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.
     
    Identifier for the extension.
    com.google.protobuf.ByteString
    Identifier for the extension.
    Version info.
    boolean
    Version info.
     
     
     
    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<SourceInfo.Extension>
     

    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

      public String getId()
       Identifier for the extension. Example: constant_folding
       
      string id = 1 [json_name = "id"];
      Specified by:
      getId in interface SourceInfo.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 interface SourceInfo.ExtensionOrBuilder
      Returns:
      The bytes for id.
    • getAffectedComponentsList

      public 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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Specified by:
      getAffectedComponentsList in interface SourceInfo.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 interface SourceInfo.ExtensionOrBuilder
      Returns:
      The count of affectedComponents.
    • getAffectedComponents

      public 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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Specified by:
      getAffectedComponents in interface SourceInfo.ExtensionOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The affectedComponents at the given index.
    • getAffectedComponentsValueList

      public List<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 .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Specified by:
      getAffectedComponentsValueList in interface SourceInfo.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 interface SourceInfo.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 interface SourceInfo.ExtensionOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public 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).
       
      .google.api.expr.v1alpha1.SourceInfo.Extension.Version version = 3 [json_name = "version"];
      Specified by:
      getVersion in interface SourceInfo.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

      public static SourceInfo.Extension parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static SourceInfo.Extension parseDelimitedFrom(InputStream input) throws IOException
      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

      public static SourceInfo.Extension.Builder newBuilder()
    • newBuilder

      public static SourceInfo.Extension.Builder newBuilder(SourceInfo.Extension prototype)
    • dynamicMethod

      protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1)
      Specified by:
      dynamicMethod in class com.google.protobuf.GeneratedMessageLite<SourceInfo.Extension,SourceInfo.Extension.Builder>
    • getDefaultInstance

      public static SourceInfo.Extension getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SourceInfo.Extension> parser()