Package com.google.api.expr.v1alpha1
Class Expr.CreateStruct
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.expr.v1alpha1.Expr.CreateStruct
- All Implemented Interfaces:
Expr.CreateStructOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
Expr
public static final class Expr.CreateStruct
extends com.google.protobuf.GeneratedMessage
implements Expr.CreateStructOrBuilder
A map or message creation expression.
Maps are constructed as `{'key_name': 'value'}`. Message construction is
similar, but prefixed with a type name and composed of field ids:
`types.MyType{field_id: 'value'}`.
Protobuf type google.api.expr.v1alpha1.Expr.CreateStruct- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA map or message creation expression.static final classRepresents an entry.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, 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 static final Expr.CreateStructprivate List<Expr.CreateStruct.Entry> static final intprivate bytestatic final intprivate Objectprivate static final com.google.protobuf.Parser<Expr.CreateStruct> private static final longFields 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
ConstructorsModifierConstructorDescriptionprivateprivateCreateStruct(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Expr.CreateStructstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntries(int index) The entries in the creation expression.intThe entries in the creation expression.The entries in the creation expression.getEntriesOrBuilder(int index) The entries in the creation expression.List<? extends Expr.CreateStruct.EntryOrBuilder> The entries in the creation expression.The type name of the message to be created, empty when creating map literals.com.google.protobuf.ByteStringThe type name of the message to be created, empty when creating map literals.com.google.protobuf.Parser<Expr.CreateStruct> intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Expr.CreateStruct.Builderstatic Expr.CreateStruct.BuildernewBuilder(Expr.CreateStruct prototype) protected Expr.CreateStruct.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Expr.CreateStructparseDelimitedFrom(InputStream input) static Expr.CreateStructparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStructparseFrom(byte[] data) static Expr.CreateStructparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStructparseFrom(com.google.protobuf.ByteString data) static Expr.CreateStructparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStructparseFrom(com.google.protobuf.CodedInputStream input) static Expr.CreateStructparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStructparseFrom(InputStream input) static Expr.CreateStructparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Expr.CreateStructparseFrom(ByteBuffer data) static Expr.CreateStructparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Expr.CreateStruct> 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 class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
-
MESSAGE_NAME_FIELD_NUMBER
public static final int MESSAGE_NAME_FIELD_NUMBER- See Also:
-
messageName_
-
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER- See Also:
-
entries_
-
memoizedIsInitialized
private byte memoizedIsInitialized -
DEFAULT_INSTANCE
-
PARSER
-
-
Constructor Details
-
CreateStruct
private CreateStruct(com.google.protobuf.GeneratedMessage.Builder<?> builder) -
CreateStruct
private CreateStruct()
-
-
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
-
getMessageName
The type name of the message to be created, empty when creating map literals.
string message_name = 1;- Specified by:
getMessageNamein interfaceExpr.CreateStructOrBuilder- Returns:
- The messageName.
-
getMessageNameBytes
public com.google.protobuf.ByteString getMessageNameBytes()The type name of the message to be created, empty when creating map literals.
string message_name = 1;- Specified by:
getMessageNameBytesin interfaceExpr.CreateStructOrBuilder- Returns:
- The bytes for messageName.
-
getEntriesList
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;- Specified by:
getEntriesListin interfaceExpr.CreateStructOrBuilder
-
getEntriesOrBuilderList
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;- Specified by:
getEntriesOrBuilderListin interfaceExpr.CreateStructOrBuilder
-
getEntriesCount
public int getEntriesCount()The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;- Specified by:
getEntriesCountin interfaceExpr.CreateStructOrBuilder
-
getEntries
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;- Specified by:
getEntriesin interfaceExpr.CreateStructOrBuilder
-
getEntriesOrBuilder
The entries in the creation expression.
repeated .google.api.expr.v1alpha1.Expr.CreateStruct.Entry entries = 2;- Specified by:
getEntriesOrBuilderin interfaceExpr.CreateStructOrBuilder
-
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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Expr.CreateStruct 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 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Expr.CreateStruct parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Expr.CreateStruct parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Expr.CreateStruct 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.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
-