public final class AllocateIdsResponse extends GeneratedMessageV3 implements AllocateIdsResponseOrBuilder
The response for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].Protobuf type
google.datastore.v1.AllocateIdsResponse| Modifier and Type | Class and Description |
|---|---|
static class |
AllocateIdsResponse.Builder
The response for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
KEYS_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static AllocateIdsResponse |
getDefaultInstance() |
AllocateIdsResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Key |
getKeys(int index)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
int |
getKeysCount()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
java.util.List<Key> |
getKeysList()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
KeyOrBuilder |
getKeysOrBuilder(int index)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
java.util.List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
Parser<AllocateIdsResponse> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AllocateIdsResponse.Builder |
newBuilder() |
static AllocateIdsResponse.Builder |
newBuilder(AllocateIdsResponse prototype) |
AllocateIdsResponse.Builder |
newBuilderForType() |
protected AllocateIdsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static AllocateIdsResponse |
parseDelimitedFrom(java.io.InputStream input) |
static AllocateIdsResponse |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static AllocateIdsResponse |
parseFrom(byte[] data) |
static AllocateIdsResponse |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static AllocateIdsResponse |
parseFrom(java.nio.ByteBuffer data) |
static AllocateIdsResponse |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static AllocateIdsResponse |
parseFrom(ByteString data) |
static AllocateIdsResponse |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static AllocateIdsResponse |
parseFrom(CodedInputStream input) |
static AllocateIdsResponse |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static AllocateIdsResponse |
parseFrom(java.io.InputStream input) |
static AllocateIdsResponse |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<AllocateIdsResponse> |
parser() |
AllocateIdsResponse.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int KEYS_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public java.util.List<Key> getKeysList()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysList in interface AllocateIdsResponseOrBuilderpublic java.util.List<? extends KeyOrBuilder> getKeysOrBuilderList()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysOrBuilderList in interface AllocateIdsResponseOrBuilderpublic int getKeysCount()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysCount in interface AllocateIdsResponseOrBuilderpublic Key getKeys(int index)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeys in interface AllocateIdsResponseOrBuilderpublic KeyOrBuilder getKeysOrBuilder(int index)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysOrBuilder in interface AllocateIdsResponseOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static AllocateIdsResponse parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AllocateIdsResponse parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AllocateIdsResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AllocateIdsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AllocateIdsResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AllocateIdsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AllocateIdsResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AllocateIdsResponse parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AllocateIdsResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AllocateIdsResponse parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AllocateIdsResponse parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AllocateIdsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic AllocateIdsResponse.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static AllocateIdsResponse.Builder newBuilder()
public static AllocateIdsResponse.Builder newBuilder(AllocateIdsResponse prototype)
public AllocateIdsResponse.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected AllocateIdsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static AllocateIdsResponse getDefaultInstance()
public static Parser<AllocateIdsResponse> parser()
public Parser<AllocateIdsResponse> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public AllocateIdsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder