Class MapValue.Entry.Builder

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

public static final class MapValue.Entry.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<MapValue.Entry,MapValue.Entry.Builder> implements MapValue.EntryOrBuilder
 An entry in the map.
 
Protobuf type google.api.expr.v1beta1.MapValue.Entry
  • Method Details

    • hasKey

      public boolean hasKey()
       The key.
      
       Must be unique with in the map.
       Currently only boolean, int, uint, and string values can be keys.
       
      .google.api.expr.v1beta1.Value key = 1 [json_name = "key"];
      Specified by:
      hasKey in interface MapValue.EntryOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public Value getKey()
       The key.
      
       Must be unique with in the map.
       Currently only boolean, int, uint, and string values can be keys.
       
      .google.api.expr.v1beta1.Value key = 1 [json_name = "key"];
      Specified by:
      getKey in interface MapValue.EntryOrBuilder
      Returns:
      The key.
    • setKey

      public MapValue.Entry.Builder setKey(Value value)
       The key.
      
       Must be unique with in the map.
       Currently only boolean, int, uint, and string values can be keys.
       
      .google.api.expr.v1beta1.Value key = 1 [json_name = "key"];
    • setKey

      public MapValue.Entry.Builder setKey(Value.Builder builderForValue)
       The key.
      
       Must be unique with in the map.
       Currently only boolean, int, uint, and string values can be keys.
       
      .google.api.expr.v1beta1.Value key = 1 [json_name = "key"];
    • mergeKey

      public MapValue.Entry.Builder mergeKey(Value value)
       The key.
      
       Must be unique with in the map.
       Currently only boolean, int, uint, and string values can be keys.
       
      .google.api.expr.v1beta1.Value key = 1 [json_name = "key"];
    • clearKey

      public MapValue.Entry.Builder clearKey()
       The key.
      
       Must be unique with in the map.
       Currently only boolean, int, uint, and string values can be keys.
       
      .google.api.expr.v1beta1.Value key = 1 [json_name = "key"];
    • hasValue

      public boolean hasValue()
       The value.
       
      .google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
      Specified by:
      hasValue in interface MapValue.EntryOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public Value getValue()
       The value.
       
      .google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
      Specified by:
      getValue in interface MapValue.EntryOrBuilder
      Returns:
      The value.
    • setValue

      public MapValue.Entry.Builder setValue(Value value)
       The value.
       
      .google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
    • setValue

      public MapValue.Entry.Builder setValue(Value.Builder builderForValue)
       The value.
       
      .google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
    • mergeValue

      public MapValue.Entry.Builder mergeValue(Value value)
       The value.
       
      .google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
    • clearValue

      public MapValue.Entry.Builder clearValue()
       The value.
       
      .google.api.expr.v1beta1.Value value = 2 [json_name = "value"];