public static final class ReserveIdsRequest.Builder extends com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.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.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
If not empty, the ID of the database against which to make the request.
|
ReserveIdsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.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.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The ID of the project against which to make the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReserveIdsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReserveIdsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReserveIdsRequest.Builder |
mergeFrom(ReserveIdsRequest other) |
ReserveIdsRequest.Builder |
mergeUnknownFields(com.google.protobuf.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(com.google.protobuf.ByteString value)
If not empty, the ID of the database against which to make the request.
|
ReserveIdsRequest.Builder |
setField(com.google.protobuf.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(com.google.protobuf.ByteString value)
The ID of the project against which to make the request.
|
ReserveIdsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ReserveIdsRequest.Builder |
setUnknownFields(com.google.protobuf.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, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReserveIdsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReserveIdsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReserveIdsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder mergeFrom(ReserveIdsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public ReserveIdsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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 com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>public final ReserveIdsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>