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.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()
Returns
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>
|
Returns
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
Returns
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;
Parameter
Returns
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
|
Returns
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;
Parameters
Returns
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;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocateIdsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AllocateIdsResponse build()
Returns
buildPartial()
public AllocateIdsResponse buildPartial()
Returns
clear()
public AllocateIdsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AllocateIdsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocateIdsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AllocateIdsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AllocateIdsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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;
Returns
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
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;
Returns
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
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AllocateIdsResponse other)
public AllocateIdsResponse.Builder mergeFrom(AllocateIdsResponse other)
Parameter
Returns
public AllocateIdsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AllocateIdsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocateIdsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AllocateIdsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
|
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocateIdsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocateIdsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides