Package com.google.api.expr.v1beta1
Class Expr.CreateStruct.Entry
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<Expr.CreateStruct.Entry,Expr.CreateStruct.Entry.Builder>
com.google.api.expr.v1beta1.Expr.CreateStruct.Entry
- All Implemented Interfaces:
Expr.CreateStruct.EntryOrBuilder
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
- Enclosing class:
- Expr.CreateStruct
public static final class Expr.CreateStruct.Entry
extends com.google.protobuf.GeneratedMessageLite<Expr.CreateStruct.Entry,Expr.CreateStruct.Entry.Builder>
implements Expr.CreateStruct.EntryOrBuilder
Represents an entry.Protobuf type
google.api.expr.v1beta1.Expr.CreateStruct.Entry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Represents an entry.static enum
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,
?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFields
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Object
dynamicMethod
(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) static Expr.CreateStruct.Entry
The 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.newBuilder
(Expr.CreateStruct.Entry prototype) static Expr.CreateStruct.Entry
parseDelimitedFrom
(InputStream input) static Expr.CreateStruct.Entry
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.Entry
parseFrom
(byte[] data) static Expr.CreateStruct.Entry
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.Entry
parseFrom
(com.google.protobuf.ByteString data) static Expr.CreateStruct.Entry
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.Entry
parseFrom
(com.google.protobuf.CodedInputStream input) static Expr.CreateStruct.Entry
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.Entry
parseFrom
(InputStream input) static Expr.CreateStruct.Entry
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.Entry
parseFrom
(ByteBuffer data) static Expr.CreateStruct.Entry
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expr.CreateStruct.Entry>
parser()
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
FIELD_KEY_FIELD_NUMBER
public static final int FIELD_KEY_FIELD_NUMBER- See Also:
-
MAP_KEY_FIELD_NUMBER
public static final int MAP_KEY_FIELD_NUMBER- See Also:
-
VALUE_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER- See Also:
-
-
Method Details
-
getKeyKindCase
- Specified by:
getKeyKindCase
in interfaceExpr.CreateStruct.EntryOrBuilder
-
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 interfaceExpr.CreateStruct.EntryOrBuilder
- Returns:
- The id.
-
hasFieldKey
public boolean hasFieldKey()The field key for a message creator statement.
string field_key = 2 [json_name = "fieldKey"];
- Specified by:
hasFieldKey
in interfaceExpr.CreateStruct.EntryOrBuilder
- Returns:
- Whether the fieldKey field is set.
-
getFieldKey
The field key for a message creator statement.
string field_key = 2 [json_name = "fieldKey"];
- Specified by:
getFieldKey
in interfaceExpr.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 interfaceExpr.CreateStruct.EntryOrBuilder
- Returns:
- The bytes for fieldKey.
-
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 interfaceExpr.CreateStruct.EntryOrBuilder
- Returns:
- Whether the mapKey field is set.
-
getMapKey
The key expression for a map creation statement.
.google.api.expr.v1beta1.Expr map_key = 3 [json_name = "mapKey"];
- Specified by:
getMapKey
in interfaceExpr.CreateStruct.EntryOrBuilder
- Returns:
- The 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 interfaceExpr.CreateStruct.EntryOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
Required. The value assigned to the key.
.google.api.expr.v1beta1.Expr value = 4 [json_name = "value"];
- Specified by:
getValue
in interfaceExpr.CreateStruct.EntryOrBuilder
- Returns:
- The value.
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Expr.CreateStruct.Entry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Expr.CreateStruct.Entry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethod
in classcom.google.protobuf.GeneratedMessageLite<Expr.CreateStruct.Entry,
Expr.CreateStruct.Entry.Builder>
-
getDefaultInstance
-
parser
-