Package com.google.api.expr.v1alpha1
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.long
getId()
Required.The key expression for a map creation statement.boolean
Whether the key-value pair is optional.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
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"];
- 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.v1alpha1.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.v1alpha1.Expr map_key = 3 [json_name = "mapKey"];
- Returns:
- The mapKey.
-
hasValue
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"];
- Returns:
- Whether the value field is set.
-
getValue
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"];
- Returns:
- The value.
-
getOptionalEntry
boolean getOptionalEntry()Whether the key-value pair is optional.
bool optional_entry = 5 [json_name = "optionalEntry"];
- Returns:
- The optionalEntry.
-
getKeyKindCase
Expr.CreateStruct.Entry.KeyKindCase getKeyKindCase()
-