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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public AllocateIdsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public AllocateIdsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public AllocateIdsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder mergeFrom(AllocateIdsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public AllocateIdsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<AllocateIdsResponse.Builder>
java.io.IOException
public 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 AllocateIdsResponseOrBuilder
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;
getKeysCount
in interface AllocateIdsResponseOrBuilder
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;
getKeys
in interface AllocateIdsResponseOrBuilder
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;
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 AllocateIdsResponseOrBuilder
public 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 AllocateIdsResponseOrBuilder
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;
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.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
public final AllocateIdsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>