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, 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<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AllocateIdsRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AllocateIdsRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AllocateIdsRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder mergeFrom(AllocateIdsRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.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<AllocateIdsRequest.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 AllocateIdsRequestOrBuilder
public ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;
getProjectIdBytes
in interface AllocateIdsRequestOrBuilder
public 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 AllocateIdsRequestOrBuilder
public 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 AllocateIdsRequestOrBuilder
public 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 AllocateIdsRequestOrBuilder
public 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 AllocateIdsRequestOrBuilder
public 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 AllocateIdsRequestOrBuilder
public 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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public final AllocateIdsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>