public static final class AllocateIdsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder> implements AllocateIdsRequestOrBuilder
The request for [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].Protobuf type
google.datastore.v1.AllocateIdsRequest
Modifier and Type | Method and Description |
---|---|
AllocateIdsRequest.Builder |
addAllKeys(Iterable<? extends Key> values)
Required.
|
AllocateIdsRequest.Builder |
addKeys(int index,
Key.Builder builderForValue)
Required.
|
AllocateIdsRequest.Builder |
addKeys(int index,
Key value)
Required.
|
AllocateIdsRequest.Builder |
addKeys(Key.Builder builderForValue)
Required.
|
AllocateIdsRequest.Builder |
addKeys(Key value)
Required.
|
Key.Builder |
addKeysBuilder()
Required.
|
Key.Builder |
addKeysBuilder(int index)
Required.
|
AllocateIdsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocateIdsRequest |
build() |
AllocateIdsRequest |
buildPartial() |
AllocateIdsRequest.Builder |
clear() |
AllocateIdsRequest.Builder |
clearDatabaseId()
The ID of the database against which to make the request.
|
AllocateIdsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AllocateIdsRequest.Builder |
clearKeys()
Required.
|
AllocateIdsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AllocateIdsRequest.Builder |
clearProjectId()
Required.
|
AllocateIdsRequest.Builder |
clone() |
String |
getDatabaseId()
The ID of the database against which to make the request.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
The ID of the database against which to make the request.
|
AllocateIdsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Key |
getKeys(int index)
Required.
|
Key.Builder |
getKeysBuilder(int index)
Required.
|
List<Key.Builder> |
getKeysBuilderList()
Required.
|
int |
getKeysCount()
Required.
|
List<Key> |
getKeysList()
Required.
|
KeyOrBuilder |
getKeysOrBuilder(int index)
Required.
|
List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
Required.
|
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AllocateIdsRequest.Builder |
mergeFrom(AllocateIdsRequest other) |
AllocateIdsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AllocateIdsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
AllocateIdsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AllocateIdsRequest.Builder |
removeKeys(int index)
Required.
|
AllocateIdsRequest.Builder |
setDatabaseId(String value)
The ID of the database against which to make the request.
|
AllocateIdsRequest.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request.
|
AllocateIdsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AllocateIdsRequest.Builder |
setKeys(int index,
Key.Builder builderForValue)
Required.
|
AllocateIdsRequest.Builder |
setKeys(int index,
Key value)
Required.
|
AllocateIdsRequest.Builder |
setProjectId(String value)
Required.
|
AllocateIdsRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
AllocateIdsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AllocateIdsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AllocateIdsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AllocateIdsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AllocateIdsRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder mergeFrom(AllocateIdsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public AllocateIdsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AllocateIdsRequest.Builder>
IOException
public String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
getProjectId
in interface AllocateIdsRequestOrBuilder
public com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
getProjectIdBytes
in interface AllocateIdsRequestOrBuilder
public AllocateIdsRequest.Builder setProjectId(String value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
value
- The projectId to set.public AllocateIdsRequest.Builder clearProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for projectId to set.public String getDatabaseId()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
getDatabaseId
in interface AllocateIdsRequestOrBuilder
public com.google.protobuf.ByteString getDatabaseIdBytes()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
getDatabaseIdBytes
in interface AllocateIdsRequestOrBuilder
public AllocateIdsRequest.Builder setDatabaseId(String value)
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
value
- The databaseId to set.public AllocateIdsRequest.Builder clearDatabaseId()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
public AllocateIdsRequest.Builder setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
value
- The bytes for databaseId to set.public List<Key> getKeysList()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysList
in interface AllocateIdsRequestOrBuilder
public int getKeysCount()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysCount
in interface AllocateIdsRequestOrBuilder
public Key getKeys(int index)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeys
in interface AllocateIdsRequestOrBuilder
public AllocateIdsRequest.Builder setKeys(int index, Key value)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder setKeys(int index, Key.Builder builderForValue)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder addKeys(Key value)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder addKeys(int index, Key value)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder addKeys(Key.Builder builderForValue)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder addKeys(int index, Key.Builder builderForValue)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder addAllKeys(Iterable<? extends Key> values)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder clearKeys()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public AllocateIdsRequest.Builder removeKeys(int index)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public Key.Builder getKeysBuilder(int index)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public KeyOrBuilder getKeysOrBuilder(int index)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysOrBuilder
in interface AllocateIdsRequestOrBuilder
public List<? extends KeyOrBuilder> getKeysOrBuilderList()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysOrBuilderList
in interface AllocateIdsRequestOrBuilder
public Key.Builder addKeysBuilder()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public Key.Builder addKeysBuilder(int index)
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public List<Key.Builder> getKeysBuilderList()
Required. A list of keys with incomplete key paths for which to allocate IDs. No key may be reserved/read-only.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public final AllocateIdsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
public final AllocateIdsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AllocateIdsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.