public static final class AllocateIdsRequest.Builder extends com.google.protobuf.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(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(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocateIdsRequest |
build() |
AllocateIdsRequest |
buildPartial() |
AllocateIdsRequest.Builder |
clear() |
AllocateIdsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AllocateIdsRequest.Builder |
clearKeys()
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AllocateIdsRequest.Builder |
clearProjectId()
The ID of the project against which to make the request.
|
AllocateIdsRequest.Builder |
clone() |
AllocateIdsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.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.
|
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.
|
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.
|
List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
A list of keys with incomplete key paths for which to allocate IDs.
|
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() |
AllocateIdsRequest.Builder |
mergeFrom(AllocateIdsRequest other) |
AllocateIdsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocateIdsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AllocateIdsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AllocateIdsRequest.Builder |
removeKeys(int index)
A list of keys with incomplete key paths for which to allocate IDs.
|
AllocateIdsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
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(String value)
The ID of the project against which to make the request.
|
AllocateIdsRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The ID of the project against which to make the request.
|
AllocateIdsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AllocateIdsRequest.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<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.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<AllocateIdsRequest.Builder>public AllocateIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AllocateIdsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AllocateIdsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AllocateIdsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder mergeFrom(AllocateIdsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public AllocateIdsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocateIdsRequest.Builder>IOExceptionpublic String getProjectId()
The ID of the project against which to make the request.
string project_id = 8;getProjectId in interface AllocateIdsRequestOrBuilderpublic com.google.protobuf.ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;getProjectIdBytes in interface AllocateIdsRequestOrBuilderpublic AllocateIdsRequest.Builder setProjectId(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(com.google.protobuf.ByteString value)
The ID of the project against which to make the request.
string project_id = 8;public 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(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 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 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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>public final AllocateIdsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>Copyright © 2019 Google LLC. All rights reserved.