Class Expr.CreateStruct.Entry.Builder

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

public static final class Expr.CreateStruct.Entry.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Expr.CreateStruct.Entry,Expr.CreateStruct.Entry.Builder> implements Expr.CreateStruct.EntryOrBuilder
 Represents an entry.
 
Protobuf type google.api.expr.v1beta1.Expr.CreateStruct.Entry
  • Method Details

    • getKeyKindCase

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

      public Expr.CreateStruct.Entry.Builder clearKeyKind()
    • getId

      public int 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.
       
      int32 id = 1 [json_name = "id"];
      Specified by:
      getId in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The id.
    • setId

      public Expr.CreateStruct.Entry.Builder setId(int value)
       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.
       
      int32 id = 1 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       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.
       
      int32 id = 1 [json_name = "id"];
      Returns:
      This builder for chaining.
    • 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.
    • setFieldKey

      public Expr.CreateStruct.Entry.Builder setFieldKey(String value)
       The field key for a message creator statement.
       
      string field_key = 2 [json_name = "fieldKey"];
      Parameters:
      value - The fieldKey to set.
      Returns:
      This builder for chaining.
    • clearFieldKey

      public Expr.CreateStruct.Entry.Builder clearFieldKey()
       The field key for a message creator statement.
       
      string field_key = 2 [json_name = "fieldKey"];
      Returns:
      This builder for chaining.
    • setFieldKeyBytes

      public Expr.CreateStruct.Entry.Builder setFieldKeyBytes(com.google.protobuf.ByteString value)
       The field key for a message creator statement.
       
      string field_key = 2 [json_name = "fieldKey"];
      Parameters:
      value - The bytes for fieldKey to set.
      Returns:
      This builder for chaining.
    • hasMapKey

      public boolean hasMapKey()
       The key expression for a map creation statement.
       
      .google.api.expr.v1beta1.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.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
      Specified by:
      getMapKey in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The mapKey.
    • setMapKey

      public Expr.CreateStruct.Entry.Builder setMapKey(Expr value)
       The key expression for a map creation statement.
       
      .google.api.expr.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
    • setMapKey

      public Expr.CreateStruct.Entry.Builder setMapKey(Expr.Builder builderForValue)
       The key expression for a map creation statement.
       
      .google.api.expr.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
    • mergeMapKey

      public Expr.CreateStruct.Entry.Builder mergeMapKey(Expr value)
       The key expression for a map creation statement.
       
      .google.api.expr.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
    • clearMapKey

      public Expr.CreateStruct.Entry.Builder clearMapKey()
       The key expression for a map creation statement.
       
      .google.api.expr.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
    • hasValue

      public boolean hasValue()
       Required. The value assigned to the key.
       
      .google.api.expr.v1beta1.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.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
      Specified by:
      getValue in interface Expr.CreateStruct.EntryOrBuilder
      Returns:
      The value.
    • setValue

      public Expr.CreateStruct.Entry.Builder setValue(Expr value)
       Required. The value assigned to the key.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
    • setValue

      public Expr.CreateStruct.Entry.Builder setValue(Expr.Builder builderForValue)
       Required. The value assigned to the key.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
    • mergeValue

      public Expr.CreateStruct.Entry.Builder mergeValue(Expr value)
       Required. The value assigned to the key.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
    • clearValue

      public Expr.CreateStruct.Entry.Builder clearValue()
       Required. The value assigned to the key.
       
      .google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];