public final class AllocateIdsRequest extends GeneratedMessageV3 implements AllocateIdsRequestOrBuilder
The request for Datastore.AllocateIds.
Protobuf type google.datastore.v1.AllocateIdsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AllocateIdsRequestImplements
AllocateIdsRequestOrBuilderStatic Fields
KEYS_FIELD_NUMBER
public static final int KEYS_FIELD_NUMBER
Type | Description |
int |
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AllocateIdsRequest getDefaultInstance()
Type | Description |
AllocateIdsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AllocateIdsRequest.Builder newBuilder()
Type | Description |
AllocateIdsRequest.Builder |
newBuilder(AllocateIdsRequest prototype)
public static AllocateIdsRequest.Builder newBuilder(AllocateIdsRequest prototype)
Name | Description |
prototype | AllocateIdsRequest |
Type | Description |
AllocateIdsRequest.Builder |
parseDelimitedFrom(InputStream input)
public static AllocateIdsRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AllocateIdsRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AllocateIdsRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AllocateIdsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AllocateIdsRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AllocateIdsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AllocateIdsRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AllocateIdsRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AllocateIdsRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AllocateIdsRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AllocateIdsRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AllocateIdsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AllocateIdsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocateIdsRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AllocateIdsRequest> parser()
Type | Description |
Parser<AllocateIdsRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public AllocateIdsRequest getDefaultInstanceForType()
Type | Description |
AllocateIdsRequest |
getKeys(int index)
public Key getKeys(int index)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
Key |
getKeysCount()
public int getKeysCount()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int |
getKeysList()
public List<Key> getKeysList()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<Key> |
getKeysOrBuilder(int index)
public KeyOrBuilder getKeysOrBuilder(int index)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
index | int |
Type | Description |
KeyOrBuilder |
getKeysOrBuilderList()
public List<? extends KeyOrBuilder> getKeysOrBuilderList()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
List<? extends com.google.datastore.v1.KeyOrBuilder> |
getParserForType()
public Parser<AllocateIdsRequest> getParserForType()
Type | Description |
Parser<AllocateIdsRequest> |
getProjectId()
public String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for projectId. |
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 AllocateIdsRequest.Builder newBuilderForType()
Type | Description |
AllocateIdsRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AllocateIdsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AllocateIdsRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public AllocateIdsRequest.Builder toBuilder()
Type | Description |
AllocateIdsRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |