Package com.google.api.expr.v1beta1
Interface Expr.CreateStruct.EntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Expr.CreateStruct.Entry
,Expr.CreateStruct.Entry.Builder
- Enclosing class:
- Expr.CreateStruct
public static interface Expr.CreateStruct.EntryOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe field key for a message creator statement.com.google.protobuf.ByteString
The field key for a message creator statement.int
getId()
Required.The key expression for a map creation statement.getValue()
Required.boolean
The field key for a message creator statement.boolean
The key expression for a map creation statement.boolean
hasValue()
Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getId
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"];
- Returns:
- The id.
-
hasFieldKey
boolean hasFieldKey()The field key for a message creator statement.
string field_key = 2 [json_name = "fieldKey"];
- Returns:
- Whether the fieldKey field is set.
-
getFieldKey
String getFieldKey()The field key for a message creator statement.
string field_key = 2 [json_name = "fieldKey"];
- Returns:
- The fieldKey.
-
getFieldKeyBytes
com.google.protobuf.ByteString getFieldKeyBytes()The field key for a message creator statement.
string field_key = 2 [json_name = "fieldKey"];
- Returns:
- The bytes for fieldKey.
-
hasMapKey
boolean hasMapKey()The key expression for a map creation statement.
.google.api.expr.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
- Returns:
- Whether the mapKey field is set.
-
getMapKey
Expr getMapKey()The key expression for a map creation statement.
.google.api.expr.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
- Returns:
- The mapKey.
-
hasValue
boolean hasValue()Required. The value assigned to the key.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
- Returns:
- Whether the value field is set.
-
getValue
Expr getValue()Required. The value assigned to the key.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
- Returns:
- The value.
-
getKeyKindCase
Expr.CreateStruct.Entry.KeyKindCase getKeyKindCase()
-