Package com.google.datastore.v1
Class AllocateIdsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
- com.google.datastore.v1.AllocateIdsResponse.Builder
-
- All Implemented Interfaces:
AllocateIdsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AllocateIdsResponse
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 typegoogle.datastore.v1.AllocateIdsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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(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(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.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, 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.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.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.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, Object value)
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
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
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AllocateIdsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
clear
public AllocateIdsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
getDefaultInstanceForType
public AllocateIdsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AllocateIdsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AllocateIdsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AllocateIdsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
setField
public AllocateIdsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
clearField
public AllocateIdsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
clearOneof
public AllocateIdsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
setRepeatedField
public AllocateIdsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
addRepeatedField
public AllocateIdsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
mergeFrom
public AllocateIdsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AllocateIdsResponse.Builder>
-
mergeFrom
public AllocateIdsResponse.Builder mergeFrom(AllocateIdsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
mergeFrom
public AllocateIdsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AllocateIdsResponse.Builder>
- Throws:
IOException
-
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;
- Specified by:
getKeysList
in interfaceAllocateIdsResponseOrBuilder
-
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;
- Specified by:
getKeysCount
in interfaceAllocateIdsResponseOrBuilder
-
getKeys
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;
- Specified by:
getKeys
in interfaceAllocateIdsResponseOrBuilder
-
setKeys
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;
-
setKeys
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;
-
addKeys
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;
-
addKeys
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;
-
addKeys
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
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;
-
addAllKeys
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;
-
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;
-
removeKeys
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;
-
getKeysBuilder
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;
-
getKeysOrBuilder
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;
- Specified by:
getKeysOrBuilder
in interfaceAllocateIdsResponseOrBuilder
-
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;
- Specified by:
getKeysOrBuilderList
in interfaceAllocateIdsResponseOrBuilder
-
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
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;
-
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;
-
setUnknownFields
public final AllocateIdsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
mergeUnknownFields
public final AllocateIdsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsResponse.Builder>
-
-