Class Reference

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Reference,Reference.Builder>
com.google.api.expr.v1alpha1.Reference
All Implemented Interfaces:
ReferenceOrBuilder, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder

public final class Reference extends com.google.protobuf.GeneratedMessageLite<Reference,Reference.Builder> implements ReferenceOrBuilder
 Describes a resolved reference to a declaration.
 
Protobuf type google.api.expr.v1alpha1.Reference
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Describes a resolved reference to a declaration.

    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)
     
    static Reference
     
    The fully qualified name of the declaration.
    com.google.protobuf.ByteString
    The fully qualified name of the declaration.
    getOverloadId(int index)
    For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
    com.google.protobuf.ByteString
    getOverloadIdBytes(int index)
    For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
    int
    For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
    For references to functions, this is a list of `Overload.overload_id` values which match according to typing rules.
    For references to constants, this may contain the value of the constant if known at compile time.
    boolean
    For references to constants, this may contain the value of the constant if known at compile time.
     
    newBuilder(Reference prototype)
     
    static Reference
     
    static Reference
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Reference
    parseFrom(byte[] data)
     
    static Reference
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Reference
    parseFrom(com.google.protobuf.ByteString data)
     
    static Reference
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Reference
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Reference
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Reference
     
    static Reference
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Reference
     
    static Reference
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Reference>
     

    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

  • Method Details

    • getName

      public String getName()
       The fully qualified name of the declaration.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getName in interface ReferenceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The fully qualified name of the declaration.
       
      string name = 1 [json_name = "name"];
      Specified by:
      getNameBytes in interface ReferenceOrBuilder
      Returns:
      The bytes for name.
    • getOverloadIdList

      public List<String> getOverloadIdList()
       For references to functions, this is a list of `Overload.overload_id`
       values which match according to typing rules.
      
       If the list has more than one element, overload resolution among the
       presented candidates must happen at runtime because of dynamic types. The
       type checker attempts to narrow down this list as much as possible.
      
       Empty if this is not a reference to a
       [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
       
      repeated string overload_id = 3 [json_name = "overloadId"];
      Specified by:
      getOverloadIdList in interface ReferenceOrBuilder
      Returns:
      A list containing the overloadId.
    • getOverloadIdCount

      public int getOverloadIdCount()
       For references to functions, this is a list of `Overload.overload_id`
       values which match according to typing rules.
      
       If the list has more than one element, overload resolution among the
       presented candidates must happen at runtime because of dynamic types. The
       type checker attempts to narrow down this list as much as possible.
      
       Empty if this is not a reference to a
       [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
       
      repeated string overload_id = 3 [json_name = "overloadId"];
      Specified by:
      getOverloadIdCount in interface ReferenceOrBuilder
      Returns:
      The count of overloadId.
    • getOverloadId

      public String getOverloadId(int index)
       For references to functions, this is a list of `Overload.overload_id`
       values which match according to typing rules.
      
       If the list has more than one element, overload resolution among the
       presented candidates must happen at runtime because of dynamic types. The
       type checker attempts to narrow down this list as much as possible.
      
       Empty if this is not a reference to a
       [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
       
      repeated string overload_id = 3 [json_name = "overloadId"];
      Specified by:
      getOverloadId in interface ReferenceOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The overloadId at the given index.
    • getOverloadIdBytes

      public com.google.protobuf.ByteString getOverloadIdBytes(int index)
       For references to functions, this is a list of `Overload.overload_id`
       values which match according to typing rules.
      
       If the list has more than one element, overload resolution among the
       presented candidates must happen at runtime because of dynamic types. The
       type checker attempts to narrow down this list as much as possible.
      
       Empty if this is not a reference to a
       [Decl.FunctionDecl][google.api.expr.v1alpha1.Decl.FunctionDecl].
       
      repeated string overload_id = 3 [json_name = "overloadId"];
      Specified by:
      getOverloadIdBytes in interface ReferenceOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the overloadId at the given index.
    • hasValue

      public boolean hasValue()
       For references to constants, this may contain the value of the
       constant if known at compile time.
       
      .google.api.expr.v1alpha1.Constant value = 4 [json_name = "value"];
      Specified by:
      hasValue in interface ReferenceOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public Constant getValue()
       For references to constants, this may contain the value of the
       constant if known at compile time.
       
      .google.api.expr.v1alpha1.Constant value = 4 [json_name = "value"];
      Specified by:
      getValue in interface ReferenceOrBuilder
      Returns:
      The value.
    • parseFrom

      public static Reference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Reference parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Reference parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

      public static Reference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Reference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilder

      public static Reference.Builder newBuilder()
    • newBuilder

      public static Reference.Builder newBuilder(Reference 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<Reference,Reference.Builder>
    • getDefaultInstance

      public static Reference getDefaultInstance()
    • parser

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