public static final class AllocateIdsResponse.Builder extends com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
AllocateIdsResponse |
build() |
AllocateIdsResponse |
buildPartial() |
AllocateIdsResponse.Builder |
clear() |
AllocateIdsResponse.Builder |
clearField(com.google.protobuf.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(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AllocateIdsResponse.Builder |
clone() |
AllocateIdsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocateIdsResponse.Builder |
mergeFrom(AllocateIdsResponse other) |
AllocateIdsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocateIdsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
AllocateIdsResponse.Builder |
mergeUnknownFields(com.google.protobuf.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(com.google.protobuf.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(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
AllocateIdsResponse.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<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.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<AllocateIdsResponse.Builder>public AllocateIdsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic AllocateIdsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic AllocateIdsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic AllocateIdsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.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<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.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<AllocateIdsResponse.Builder>public AllocateIdsResponse.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<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.Builder mergeFrom(AllocateIdsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public AllocateIdsResponse.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<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(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>public final AllocateIdsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>