public static final class AllocateIdsRequest.Builder extends GeneratedMessageV3.Builder<AllocateIdsRequest.Builder> implements AllocateIdsRequestOrBuilder
The request for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].Protobuf type
google.datastore.v1.AllocateIdsRequest| Modifier and Type | Method and Description |
|---|---|
AllocateIdsRequest.Builder |
addAllKeys(java.lang.Iterable<? extends Key> values)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
addKeys(int index,
Key.Builder builderForValue)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
addKeys(int index,
Key value)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
addKeys(Key.Builder builderForValue)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
addKeys(Key value)
A list of keys with incomplete key paths for which to allocate IDs.
|
Key.Builder |
addKeysBuilder()
A list of keys with incomplete key paths for which to allocate IDs.
|
Key.Builder |
addKeysBuilder(int index)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateIdsRequest |
build() |
AllocateIdsRequest |
buildPartial() |
AllocateIdsRequest.Builder |
clear() |
AllocateIdsRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
AllocateIdsRequest.Builder |
clearKeys()
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
AllocateIdsRequest.Builder |
clearProjectId()
The ID of the project against which to make the request.
|
AllocateIdsRequest.Builder |
clone() |
AllocateIdsRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Key |
getKeys(int index)
A list of keys with incomplete key paths for which to allocate IDs.
|
Key.Builder |
getKeysBuilder(int index)
A list of keys with incomplete key paths for which to allocate IDs.
|
java.util.List<Key.Builder> |
getKeysBuilderList()
A list of keys with incomplete key paths for which to allocate IDs.
|
int |
getKeysCount()
A list of keys with incomplete key paths for which to allocate IDs.
|
java.util.List<Key> |
getKeysList()
A list of keys with incomplete key paths for which to allocate IDs.
|
KeyOrBuilder |
getKeysOrBuilder(int index)
A list of keys with incomplete key paths for which to allocate IDs.
|
java.util.List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
A list of keys with incomplete key paths for which to allocate IDs.
|
java.lang.String |
getProjectId()
The ID of the project against which to make the request.
|
ByteString |
getProjectIdBytes()
The ID of the project against which to make the request.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocateIdsRequest.Builder |
mergeFrom(AllocateIdsRequest other) |
AllocateIdsRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
AllocateIdsRequest.Builder |
mergeFrom(Message other) |
AllocateIdsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
AllocateIdsRequest.Builder |
removeKeys(int index)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateIdsRequest.Builder |
setKeys(int index,
Key.Builder builderForValue)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
setKeys(int index,
Key value)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
setProjectId(java.lang.String value)
The ID of the project against which to make the request.
|
AllocateIdsRequest.Builder |
setProjectIdBytes(ByteString value)
The ID of the project against which to make the request.
|
AllocateIdsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AllocateIdsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic AllocateIdsRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic AllocateIdsRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic AllocateIdsRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder mergeFrom(AllocateIdsRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<AllocateIdsRequest.Builder>java.io.IOExceptionpublic java.lang.String getProjectId()
The ID of the project against which to make the request.
string project_id = 8;getProjectId in interface AllocateIdsRequestOrBuilderpublic ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;getProjectIdBytes in interface AllocateIdsRequestOrBuilderpublic AllocateIdsRequest.Builder setProjectId(java.lang.String value)
The ID of the project against which to make the request.
string project_id = 8;public AllocateIdsRequest.Builder clearProjectId()
The ID of the project against which to make the request.
string project_id = 8;public AllocateIdsRequest.Builder setProjectIdBytes(ByteString value)
The ID of the project against which to make the request.
string project_id = 8;public java.util.List<Key> getKeysList()
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;getKeysList in interface AllocateIdsRequestOrBuilderpublic int getKeysCount()
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;getKeysCount in interface AllocateIdsRequestOrBuilderpublic Key getKeys(int index)
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;getKeys in interface AllocateIdsRequestOrBuilderpublic AllocateIdsRequest.Builder setKeys(int index, Key value)
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;public AllocateIdsRequest.Builder setKeys(int index, Key.Builder builderForValue)
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;public AllocateIdsRequest.Builder addKeys(Key value)
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;public AllocateIdsRequest.Builder addKeys(int index, Key value)
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;public AllocateIdsRequest.Builder addKeys(Key.Builder builderForValue)
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;public AllocateIdsRequest.Builder addKeys(int index, Key.Builder builderForValue)
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;public AllocateIdsRequest.Builder addAllKeys(java.lang.Iterable<? extends Key> values)
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;public AllocateIdsRequest.Builder clearKeys()
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;public AllocateIdsRequest.Builder removeKeys(int index)
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;public Key.Builder getKeysBuilder(int index)
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;public KeyOrBuilder getKeysOrBuilder(int index)
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;getKeysOrBuilder in interface AllocateIdsRequestOrBuilderpublic java.util.List<? extends KeyOrBuilder> getKeysOrBuilderList()
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;getKeysOrBuilderList in interface AllocateIdsRequestOrBuilderpublic Key.Builder addKeysBuilder()
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;public Key.Builder addKeysBuilder(int index)
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;public java.util.List<Key.Builder> getKeysBuilderList()
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;public final AllocateIdsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public final AllocateIdsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>