public static final class AllocateIdsResponse.Builder extends GeneratedMessageV3.Builder<AllocateIdsResponse.Builder> implements AllocateIdsResponseOrBuilder
The response for
Datastore.AllocateIds.
Protobuf type google.datastore.v1.AllocateIdsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllKeys(Iterable<? extends Key> values)
public AllocateIdsResponse.Builder addAllKeys(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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.datastore.v1.Key>
|
addKeys(Key value)
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;
Parameter |
Name |
Description |
value |
Key
|
addKeys(Key.Builder builderForValue)
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;
addKeys(int index, Key value)
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;
Parameters |
Name |
Description |
index |
int
|
value |
Key
|
addKeys(int index, Key.Builder builderForValue)
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;
addKeysBuilder()
public 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;
addKeysBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocateIdsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AllocateIdsResponse build()
buildPartial()
public AllocateIdsResponse buildPartial()
clear()
public AllocateIdsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public AllocateIdsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearKeys()
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocateIdsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AllocateIdsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public AllocateIdsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getKeys(int index)
public 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;
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Key |
|
getKeysBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
getKeysBuilderList()
public 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;
getKeysCount()
public 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;
Returns |
Type |
Description |
int |
|
getKeysList()
public 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;
getKeysOrBuilder(int index)
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;
Parameter |
Name |
Description |
index |
int
|
getKeysOrBuilderList()
public 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;
Returns |
Type |
Description |
List<? extends com.google.datastore.v1.KeyOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AllocateIdsResponse other)
public AllocateIdsResponse.Builder mergeFrom(AllocateIdsResponse other)
public AllocateIdsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AllocateIdsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocateIdsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeKeys(int index)
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;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public AllocateIdsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setKeys(int index, Key value)
public 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;
Parameters |
Name |
Description |
index |
int
|
value |
Key
|
setKeys(int index, Key.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocateIdsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocateIdsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides