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 |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static AllocateIdsResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AllocateIdsResponse.Builder newBuilder()
newBuilder(AllocateIdsResponse prototype)
public static AllocateIdsResponse.Builder newBuilder(AllocateIdsResponse prototype)
public static AllocateIdsResponse parseDelimitedFrom(InputStream input)
public static AllocateIdsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AllocateIdsResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AllocateIdsResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(CodedInputStream input)
public static AllocateIdsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(InputStream input)
public static AllocateIdsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AllocateIdsResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AllocateIdsResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public AllocateIdsResponse getDefaultInstanceForType()
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 |
---|
Name | Description |
index | int
|
Returns |
---|
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;
Returns |
---|
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
List<? extends com.google.datastore.v1.KeyOrBuilder> | |
getParserForType()
public Parser<AllocateIdsResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AllocateIdsResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AllocateIdsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public AllocateIdsResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides