public static final class AllocateIdsResponse.Builder extends GeneratedMessageV3.Builder<AllocateIdsResponse.Builder> implements AllocateIdsResponseOrBuilder
The response for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].Protobuf type
google.datastore.v1.AllocateIdsResponse| Modifier and Type | Method and Description |
|---|---|
AllocateIdsResponse.Builder |
addAllKeys(java.lang.Iterable<? extends Key> values)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
addKeys(int index,
Key.Builder builderForValue)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
addKeys(int index,
Key value)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
addKeys(Key.Builder builderForValue)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
addKeys(Key value)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
Key.Builder |
addKeysBuilder()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
Key.Builder |
addKeysBuilder(int index)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateIdsResponse |
build() |
AllocateIdsResponse |
buildPartial() |
AllocateIdsResponse.Builder |
clear() |
AllocateIdsResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
AllocateIdsResponse.Builder |
clearKeys()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
AllocateIdsResponse.Builder |
clone() |
AllocateIdsResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Key |
getKeys(int index)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
Key.Builder |
getKeysBuilder(int index)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
java.util.List<Key.Builder> |
getKeysBuilderList()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
int |
getKeysCount()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
java.util.List<Key> |
getKeysList()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
KeyOrBuilder |
getKeysOrBuilder(int index)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
java.util.List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocateIdsResponse.Builder |
mergeFrom(AllocateIdsResponse other) |
AllocateIdsResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
AllocateIdsResponse.Builder |
mergeFrom(Message other) |
AllocateIdsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
AllocateIdsResponse.Builder |
removeKeys(int index)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateIdsResponse.Builder |
setKeys(int index,
Key.Builder builderForValue)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
setKeys(int index,
Key value)
The keys specified in the request (in the same order), each with
its key path completed with a newly allocated ID.
|
AllocateIdsResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AllocateIdsResponse.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<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic AllocateIdsResponse build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic AllocateIdsResponse buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic AllocateIdsResponse.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder mergeFrom(AllocateIdsResponse other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<AllocateIdsResponse.Builder>java.io.IOExceptionpublic java.util.List<Key> getKeysList()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysList in interface AllocateIdsResponseOrBuilderpublic int getKeysCount()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysCount in interface AllocateIdsResponseOrBuilderpublic Key getKeys(int index)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeys in interface AllocateIdsResponseOrBuilderpublic AllocateIdsResponse.Builder setKeys(int index, Key value)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder setKeys(int index, Key.Builder builderForValue)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder addKeys(Key value)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder addKeys(int index, Key value)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder addKeys(Key.Builder builderForValue)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder addKeys(int index, Key.Builder builderForValue)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder addAllKeys(java.lang.Iterable<? extends Key> values)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder clearKeys()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public AllocateIdsResponse.Builder removeKeys(int index)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public Key.Builder getKeysBuilder(int index)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public KeyOrBuilder getKeysOrBuilder(int index)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysOrBuilder in interface AllocateIdsResponseOrBuilderpublic java.util.List<? extends KeyOrBuilder> getKeysOrBuilderList()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;getKeysOrBuilderList in interface AllocateIdsResponseOrBuilderpublic Key.Builder addKeysBuilder()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public Key.Builder addKeysBuilder(int index)
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public java.util.List<Key.Builder> getKeysBuilderList()
The keys specified in the request (in the same order), each with its key path completed with a newly allocated ID.
repeated .google.datastore.v1.Key keys = 1;public final AllocateIdsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public final AllocateIdsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>