public final class AllocateIdsResponse extends GeneratedMessageV3 implements AllocateIdsResponseOrBuilder
The response for Datastore.AllocateIds.
Protobuf type google.datastore.v1.AllocateIdsResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AllocateIdsResponseImplements
AllocateIdsResponseOrBuilderStatic Fields
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AllocateIdsResponse getDefaultInstance()
Type | Description |
AllocateIdsResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AllocateIdsResponse.Builder newBuilder()
Type | Description |
AllocateIdsResponse.Builder |
newBuilder(AllocateIdsResponse prototype)
public static AllocateIdsResponse.Builder newBuilder(AllocateIdsResponse prototype)
Name | Description |
prototype | AllocateIdsResponse |
Type | Description |
AllocateIdsResponse.Builder |
parseDelimitedFrom(InputStream input)
public static AllocateIdsResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AllocateIdsResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AllocateIdsResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AllocateIdsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AllocateIdsResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AllocateIdsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AllocateIdsResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AllocateIdsResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AllocateIdsResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AllocateIdsResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AllocateIdsResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AllocateIdsResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AllocateIdsResponse> parser()
Type | Description |
Parser<AllocateIdsResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public AllocateIdsResponse getDefaultInstanceForType()
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<? extends com.google.datastore.v1.KeyOrBuilder> |
getParserForType()
public Parser<AllocateIdsResponse> getParserForType()
Type | Description |
Parser<AllocateIdsResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public AllocateIdsResponse.Builder newBuilderForType()
Type | Description |
AllocateIdsResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AllocateIdsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AllocateIdsResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public AllocateIdsResponse.Builder toBuilder()
Type | Description |
AllocateIdsResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |