public static final class ReserveIdsRequest.Builder extends GeneratedMessageV3.Builder<ReserveIdsRequest.Builder> implements ReserveIdsRequestOrBuilder
The request for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].Protobuf type
google.datastore.v1.ReserveIdsRequest| Modifier and Type | Method and Description |
|---|---|
ReserveIdsRequest.Builder |
addAllKeys(java.lang.Iterable<? extends Key> values)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
addKeys(int index,
Key.Builder builderForValue)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
addKeys(int index,
Key value)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
addKeys(Key.Builder builderForValue)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
addKeys(Key value)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
Key.Builder |
addKeysBuilder()
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
Key.Builder |
addKeysBuilder(int index)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ReserveIdsRequest |
build() |
ReserveIdsRequest |
buildPartial() |
ReserveIdsRequest.Builder |
clear() |
ReserveIdsRequest.Builder |
clearDatabaseId()
If not empty, the ID of the database against which to make the request.
|
ReserveIdsRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
ReserveIdsRequest.Builder |
clearKeys()
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ReserveIdsRequest.Builder |
clearProjectId()
The ID of the project against which to make the request.
|
ReserveIdsRequest.Builder |
clone() |
java.lang.String |
getDatabaseId()
If not empty, the ID of the database against which to make the request.
|
ByteString |
getDatabaseIdBytes()
If not empty, the ID of the database against which to make the request.
|
ReserveIdsRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Key |
getKeys(int index)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
Key.Builder |
getKeysBuilder(int index)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
java.util.List<Key.Builder> |
getKeysBuilderList()
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
int |
getKeysCount()
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
java.util.List<Key> |
getKeysList()
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
KeyOrBuilder |
getKeysOrBuilder(int index)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
java.util.List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
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() |
ReserveIdsRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ReserveIdsRequest.Builder |
mergeFrom(Message other) |
ReserveIdsRequest.Builder |
mergeFrom(ReserveIdsRequest other) |
ReserveIdsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ReserveIdsRequest.Builder |
removeKeys(int index)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
setDatabaseId(java.lang.String value)
If not empty, the ID of the database against which to make the request.
|
ReserveIdsRequest.Builder |
setDatabaseIdBytes(ByteString value)
If not empty, the ID of the database against which to make the request.
|
ReserveIdsRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ReserveIdsRequest.Builder |
setKeys(int index,
Key.Builder builderForValue)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
setKeys(int index,
Key value)
A list of keys with complete key paths whose numeric IDs should not be
auto-allocated.
|
ReserveIdsRequest.Builder |
setProjectId(java.lang.String value)
The ID of the project against which to make the request.
|
ReserveIdsRequest.Builder |
setProjectIdBytes(ByteString value)
The ID of the project against which to make the request.
|
ReserveIdsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ReserveIdsRequest.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<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ReserveIdsRequest build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ReserveIdsRequest buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ReserveIdsRequest.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder mergeFrom(ReserveIdsRequest other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<ReserveIdsRequest.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 ReserveIdsRequestOrBuilderpublic ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;getProjectIdBytes in interface ReserveIdsRequestOrBuilderpublic ReserveIdsRequest.Builder setProjectId(java.lang.String value)
The ID of the project against which to make the request.
string project_id = 8;public ReserveIdsRequest.Builder clearProjectId()
The ID of the project against which to make the request.
string project_id = 8;public ReserveIdsRequest.Builder setProjectIdBytes(ByteString value)
The ID of the project against which to make the request.
string project_id = 8;public java.lang.String getDatabaseId()
If not empty, the ID of the database against which to make the request.
string database_id = 9;getDatabaseId in interface ReserveIdsRequestOrBuilderpublic ByteString getDatabaseIdBytes()
If not empty, the ID of the database against which to make the request.
string database_id = 9;getDatabaseIdBytes in interface ReserveIdsRequestOrBuilderpublic ReserveIdsRequest.Builder setDatabaseId(java.lang.String value)
If not empty, the ID of the database against which to make the request.
string database_id = 9;public ReserveIdsRequest.Builder clearDatabaseId()
If not empty, the ID of the database against which to make the request.
string database_id = 9;public ReserveIdsRequest.Builder setDatabaseIdBytes(ByteString value)
If not empty, the ID of the database against which to make the request.
string database_id = 9;public java.util.List<Key> getKeysList()
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;getKeysList in interface ReserveIdsRequestOrBuilderpublic int getKeysCount()
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;getKeysCount in interface ReserveIdsRequestOrBuilderpublic Key getKeys(int index)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;getKeys in interface ReserveIdsRequestOrBuilderpublic ReserveIdsRequest.Builder setKeys(int index, Key value)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder setKeys(int index, Key.Builder builderForValue)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder addKeys(Key value)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder addKeys(int index, Key value)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder addKeys(Key.Builder builderForValue)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder addKeys(int index, Key.Builder builderForValue)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder addAllKeys(java.lang.Iterable<? extends Key> values)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder clearKeys()
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public ReserveIdsRequest.Builder removeKeys(int index)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public Key.Builder getKeysBuilder(int index)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public KeyOrBuilder getKeysOrBuilder(int index)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;getKeysOrBuilder in interface ReserveIdsRequestOrBuilderpublic java.util.List<? extends KeyOrBuilder> getKeysOrBuilderList()
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;getKeysOrBuilderList in interface ReserveIdsRequestOrBuilderpublic Key.Builder addKeysBuilder()
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public Key.Builder addKeysBuilder(int index)
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public java.util.List<Key.Builder> getKeysBuilderList()
A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1;public final ReserveIdsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public final ReserveIdsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>