public static final class ReserveIdsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder> implements ReserveIdsRequestOrBuilder
The request for [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].Protobuf type
google.datastore.v1.ReserveIdsRequest
Modifier and Type | Method and Description |
---|---|
ReserveIdsRequest.Builder |
addAllKeys(Iterable<? extends Key> values)
Required.
|
ReserveIdsRequest.Builder |
addKeys(int index,
Key.Builder builderForValue)
Required.
|
ReserveIdsRequest.Builder |
addKeys(int index,
Key value)
Required.
|
ReserveIdsRequest.Builder |
addKeys(Key.Builder builderForValue)
Required.
|
ReserveIdsRequest.Builder |
addKeys(Key value)
Required.
|
Key.Builder |
addKeysBuilder()
Required.
|
Key.Builder |
addKeysBuilder(int index)
Required.
|
ReserveIdsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReserveIdsRequest |
build() |
ReserveIdsRequest |
buildPartial() |
ReserveIdsRequest.Builder |
clear() |
ReserveIdsRequest.Builder |
clearDatabaseId()
The ID of the database against which to make the request.
|
ReserveIdsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReserveIdsRequest.Builder |
clearKeys()
Required.
|
ReserveIdsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReserveIdsRequest.Builder |
clearProjectId()
Required.
|
ReserveIdsRequest.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.
|
ReserveIdsRequest |
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() |
ReserveIdsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReserveIdsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReserveIdsRequest.Builder |
mergeFrom(ReserveIdsRequest other) |
ReserveIdsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReserveIdsRequest.Builder |
removeKeys(int index)
Required.
|
ReserveIdsRequest.Builder |
setDatabaseId(String value)
The ID of the database against which to make the request.
|
ReserveIdsRequest.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request.
|
ReserveIdsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ReserveIdsRequest.Builder |
setKeys(int index,
Key.Builder builderForValue)
Required.
|
ReserveIdsRequest.Builder |
setKeys(int index,
Key value)
Required.
|
ReserveIdsRequest.Builder |
setProjectId(String value)
Required.
|
ReserveIdsRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
ReserveIdsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ReserveIdsRequest.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<ReserveIdsRequest.Builder>
public ReserveIdsRequest.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<ReserveIdsRequest.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<ReserveIdsRequest.Builder>
public ReserveIdsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public ReserveIdsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public ReserveIdsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public ReserveIdsRequest.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<ReserveIdsRequest.Builder>
public ReserveIdsRequest.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<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.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<ReserveIdsRequest.Builder>
public ReserveIdsRequest.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<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.Builder mergeFrom(ReserveIdsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public ReserveIdsRequest.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<ReserveIdsRequest.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 ReserveIdsRequestOrBuilder
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 ReserveIdsRequestOrBuilder
public ReserveIdsRequest.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 ReserveIdsRequest.Builder clearProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.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 ReserveIdsRequestOrBuilder
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 ReserveIdsRequestOrBuilder
public ReserveIdsRequest.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 ReserveIdsRequest.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 ReserveIdsRequest.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 complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysList
in interface ReserveIdsRequestOrBuilder
public int getKeysCount()
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysCount
in interface ReserveIdsRequestOrBuilder
public Key getKeys(int index)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeys
in interface ReserveIdsRequestOrBuilder
public ReserveIdsRequest.Builder setKeys(int index, Key value)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder setKeys(int index, Key.Builder builderForValue)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder addKeys(Key value)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder addKeys(int index, Key value)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder addKeys(Key.Builder builderForValue)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder addKeys(int index, Key.Builder builderForValue)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder addAllKeys(Iterable<? extends Key> values)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder clearKeys()
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public ReserveIdsRequest.Builder removeKeys(int index)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public Key.Builder getKeysBuilder(int index)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public KeyOrBuilder getKeysOrBuilder(int index)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysOrBuilder
in interface ReserveIdsRequestOrBuilder
public List<? extends KeyOrBuilder> getKeysOrBuilderList()
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
getKeysOrBuilderList
in interface ReserveIdsRequestOrBuilder
public Key.Builder addKeysBuilder()
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public Key.Builder addKeysBuilder(int index)
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public List<Key.Builder> getKeysBuilderList()
Required. A list of keys with complete key paths whose numeric IDs should not be auto-allocated.
repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED];
public final ReserveIdsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
public final ReserveIdsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<ReserveIdsRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.