Class AllocateIdsResponse (2.10.1)

public final class AllocateIdsResponse extends GeneratedMessageV3 implements AllocateIdsResponseOrBuilder

The response for Datastore.AllocateIds.

Protobuf type google.datastore.v1.AllocateIdsResponse

Static Fields

KEYS_FIELD_NUMBER

public static final int KEYS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AllocateIdsResponse getDefaultInstance()
Returns
TypeDescription
AllocateIdsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AllocateIdsResponse.Builder newBuilder()
Returns
TypeDescription
AllocateIdsResponse.Builder

newBuilder(AllocateIdsResponse prototype)

public static AllocateIdsResponse.Builder newBuilder(AllocateIdsResponse prototype)
Parameter
NameDescription
prototypeAllocateIdsResponse
Returns
TypeDescription
AllocateIdsResponse.Builder

parseDelimitedFrom(InputStream input)

public static AllocateIdsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllocateIdsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AllocateIdsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AllocateIdsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AllocateIdsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AllocateIdsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AllocateIdsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AllocateIdsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AllocateIdsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AllocateIdsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AllocateIdsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AllocateIdsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AllocateIdsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AllocateIdsResponse> parser()
Returns
TypeDescription
Parser<AllocateIdsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AllocateIdsResponse getDefaultInstanceForType()
Returns
TypeDescription
AllocateIdsResponse

getKeys(int index)

public 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Key

getKeysCount()

public 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;

Returns
TypeDescription
int

getKeysList()

public 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;

Returns
TypeDescription
List<Key>

getKeysOrBuilder(int index)

public 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
KeyOrBuilder

getKeysOrBuilderList()

public 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;

Returns
TypeDescription
List<? extends com.google.datastore.v1.KeyOrBuilder>

getParserForType()

public Parser<AllocateIdsResponse> getParserForType()
Returns
TypeDescription
Parser<AllocateIdsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AllocateIdsResponse.Builder newBuilderForType()
Returns
TypeDescription
AllocateIdsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AllocateIdsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AllocateIdsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AllocateIdsResponse.Builder toBuilder()
Returns
TypeDescription
AllocateIdsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException