Package com.google.api.expr.v1beta1
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
-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
Method Summary
Modifier and TypeMethodDescriptionclearKey()
The key.The value.getKey()
The key.getValue()
The value.boolean
hasKey()
The key.boolean
hasValue()
The value.The key.mergeValue
(Value value) The value.The key.setKey
(Value.Builder builderForValue) The key.The value.setValue
(Value.Builder builderForValue) The value.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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 interfaceMapValue.EntryOrBuilder
- Returns:
- Whether the key field is set.
-
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 interfaceMapValue.EntryOrBuilder
- Returns:
- The key.
-
setKey
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
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
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
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 interfaceMapValue.EntryOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
The value.
.google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
- Specified by:
getValue
in interfaceMapValue.EntryOrBuilder
- Returns:
- The value.
-
setValue
The value.
.google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
-
setValue
The value.
.google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
-
mergeValue
The value.
.google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
-
clearValue
The value.
.google.api.expr.v1beta1.Value value = 2 [json_name = "value"];
-