Class Expr.CreateStruct.Entry
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.expr.v1alpha1.Expr.CreateStruct.Entry
- All Implemented Interfaces:
Expr.CreateStruct.EntryOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
- Enclosing class:
Expr.CreateStruct
public static final class Expr.CreateStruct.Entry
extends com.google.protobuf.GeneratedMessage
implements Expr.CreateStruct.EntryOrBuilder
Represents an entry.Protobuf type
google.api.expr.v1alpha1.Expr.CreateStruct.Entry- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRepresents an entry.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intprivate static final Expr.CreateStruct.Entrystatic final intprivate longstatic final intprivate Objectprivate intstatic final intprivate bytestatic final intprivate booleanprivate static final com.google.protobuf.Parser<Expr.CreateStruct.Entry> private static final longprivate Exprstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Expr.CreateStruct.Entrystatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe field key for a message creator statement.com.google.protobuf.ByteStringThe field key for a message creator statement.longgetId()Required.The key expression for a map creation statement.The key expression for a map creation statement.booleanWhether the key-value pair is optional.com.google.protobuf.Parser<Expr.CreateStruct.Entry> intgetValue()Required.Required.booleanThe field key for a message creator statement.inthashCode()booleanThe key expression for a map creation statement.booleanhasValue()Required.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Expr.CreateStruct.Entry prototype) protected Expr.CreateStruct.Entry.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Expr.CreateStruct.EntryparseDelimitedFrom(InputStream input) static Expr.CreateStruct.EntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.EntryparseFrom(byte[] data) static Expr.CreateStruct.EntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.EntryparseFrom(com.google.protobuf.ByteString data) static Expr.CreateStruct.EntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.EntryparseFrom(com.google.protobuf.CodedInputStream input) static Expr.CreateStruct.EntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.EntryparseFrom(InputStream input) static Expr.CreateStruct.EntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStruct.EntryparseFrom(ByteBuffer data) static Expr.CreateStruct.EntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expr.CreateStruct.Entry> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
bitField0_
private int bitField0_ -
keyKindCase_
private int keyKindCase_ -
keyKind_
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
id_
private long id_ -
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:
-
value_
-
OPTIONAL_ENTRY_FIELD_NUMBER
public static final int OPTIONAL_ENTRY_FIELD_NUMBER- See Also:
-
optionalEntry_
private boolean optionalEntry_ -
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
Entry
private Entry(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Entry
private Entry()
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getKeyKindCase
- Specified by:
getKeyKindCasein interfaceExpr.CreateStruct.EntryOrBuilder
-
getId
public 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;- Specified by:
getIdin interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- The id.
-
hasFieldKey
public boolean hasFieldKey()The field key for a message creator statement.
string field_key = 2;- Specified by:
hasFieldKeyin interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- Whether the fieldKey field is set.
-
getFieldKey
The field key for a message creator statement.
string field_key = 2;- Specified by:
getFieldKeyin 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;- Specified by:
getFieldKeyBytesin interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- The bytes for fieldKey.
-
hasMapKey
public boolean hasMapKey()The key expression for a map creation statement.
.google.api.expr.v1alpha1.Expr map_key = 3;- Specified by:
hasMapKeyin interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- Whether the mapKey field is set.
-
getMapKey
The key expression for a map creation statement.
.google.api.expr.v1alpha1.Expr map_key = 3;- Specified by:
getMapKeyin interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- The mapKey.
-
getMapKeyOrBuilder
The key expression for a map creation statement.
.google.api.expr.v1alpha1.Expr map_key = 3;- Specified by:
getMapKeyOrBuilderin interfaceExpr.CreateStruct.EntryOrBuilder
-
hasValue
public 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;- Specified by:
hasValuein interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- Whether the value field is set.
-
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;- Specified by:
getValuein interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- The value.
-
getValueOrBuilder
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;- Specified by:
getValueOrBuilderin interfaceExpr.CreateStruct.EntryOrBuilder
-
getOptionalEntry
public boolean getOptionalEntry()Whether the key-value pair is optional.
bool optional_entry = 5;- Specified by:
getOptionalEntryin interfaceExpr.CreateStruct.EntryOrBuilder- Returns:
- The optionalEntry.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
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
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Expr.CreateStruct.Entry.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-