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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ReserveIdsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ReserveIdsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ReserveIdsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder mergeFrom(ReserveIdsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ReserveIdsRequest.Builder>
java.io.IOException
public java.lang.String getProjectId()
The ID of the project against which to make the request.
string project_id = 8;
getProjectId
in interface ReserveIdsRequestOrBuilder
public ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;
getProjectIdBytes
in interface ReserveIdsRequestOrBuilder
public 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 ReserveIdsRequestOrBuilder
public ByteString getDatabaseIdBytes()
If not empty, the ID of the database against which to make the request.
string database_id = 9;
getDatabaseIdBytes
in interface ReserveIdsRequestOrBuilder
public 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 ReserveIdsRequestOrBuilder
public 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 ReserveIdsRequestOrBuilder
public 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 ReserveIdsRequestOrBuilder
public 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 ReserveIdsRequestOrBuilder
public 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 ReserveIdsRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public final ReserveIdsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>