Class Expr.CreateStruct.Entry

java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Expr.CreateStruct.Entry,Expr.CreateStruct.Entry.Builder>
com.google.api.expr.v1alpha1.Expr.CreateStruct.Entry
All Implemented Interfaces:
Expr.CreateStruct.EntryOrBuilder, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder
Enclosing class:
Expr.CreateStruct

public static final class Expr.CreateStruct.Entry extends com.google.protobuf.GeneratedMessageLite<Expr.CreateStruct.Entry,Expr.CreateStruct.Entry.Builder> implements Expr.CreateStruct.EntryOrBuilder
 Represents an entry.
 
Protobuf type google.api.expr.v1alpha1.Expr.CreateStruct.Entry
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Represents an entry.
    static enum 
     

    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
     
    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)
     
     
    The field key for a message creator statement.
    com.google.protobuf.ByteString
    The field key for a message creator statement.
    long
    Required.
     
    The key expression for a map creation statement.
    boolean
    Whether the key-value pair is optional.
    Required.
    boolean
    The field key for a message creator statement.
    boolean
    The key expression for a map creation statement.
    boolean
    Required.
     
     
     
    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<Expr.CreateStruct.Entry>
     

    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

    • getKeyKindCase

      public Expr.CreateStruct.Entry.KeyKindCase getKeyKindCase()
      Specified by:
      getKeyKindCase in interface Expr.CreateStruct.EntryOrBuilder
    • getId

      public long getId()
       Required. An id assigned to this node by the parser which is unique
       in a given expression tree. This is used to associate type
       information and other attributes to the node.
       
      int64 id = 1 [json_name = "id"];
      Specified by:
      getId in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The id.
    • hasFieldKey

      public boolean hasFieldKey()
       The field key for a message creator statement.
       
      string field_key = 2 [json_name = "fieldKey"];
      Specified by:
      hasFieldKey in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      Whether the fieldKey field is set.
    • getFieldKey

      public String getFieldKey()
       The field key for a message creator statement.
       
      string field_key = 2 [json_name = "fieldKey"];
      Specified by:
      getFieldKey in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The fieldKey.
    • getFieldKeyBytes

      public com.google.protobuf.ByteString getFieldKeyBytes()
       The field key for a message creator statement.
       
      string field_key = 2 [json_name = "fieldKey"];
      Specified by:
      getFieldKeyBytes in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The bytes for fieldKey.
    • hasMapKey

      public boolean hasMapKey()
       The key expression for a map creation statement.
       
      .google.api.expr.v1alpha1.Expr map_key = 3 [json_name = "mapKey"];
      Specified by:
      hasMapKey in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      Whether the mapKey field is set.
    • getMapKey

      public Expr getMapKey()
       The key expression for a map creation statement.
       
      .google.api.expr.v1alpha1.Expr map_key = 3 [json_name = "mapKey"];
      Specified by:
      getMapKey in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The mapKey.
    • hasValue

      public boolean hasValue()
       Required. The value assigned to the key.
      
       If the optional_entry field is true, the expression must resolve to an
       optional-typed value. If the optional value is present, the key will be
       set; however, if the optional value is absent, the key will be unset.
       
      .google.api.expr.v1alpha1.Expr value = 4 [json_name = "value"];
      Specified by:
      hasValue in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public Expr getValue()
       Required. The value assigned to the key.
      
       If the optional_entry field is true, the expression must resolve to an
       optional-typed value. If the optional value is present, the key will be
       set; however, if the optional value is absent, the key will be unset.
       
      .google.api.expr.v1alpha1.Expr value = 4 [json_name = "value"];
      Specified by:
      getValue in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The value.
    • getOptionalEntry

      public boolean getOptionalEntry()
       Whether the key-value pair is optional.
       
      bool optional_entry = 5 [json_name = "optionalEntry"];
      Specified by:
      getOptionalEntry in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The optionalEntry.
    • parseFrom

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

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

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

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

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

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

      public static Expr.CreateStruct.Entry parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static Expr.CreateStruct.Entry parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

      public static Expr.CreateStruct.Entry.Builder newBuilder()
    • newBuilder

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

      public static Expr.CreateStruct.Entry getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Expr.CreateStruct.Entry> parser()