public static final class RollbackRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RollbackRequest.Builder> implements RollbackRequestOrBuilder
The request for [Firestore.Rollback][google.firestore.v1.Firestore.Rollback].Protobuf type
google.firestore.v1.RollbackRequest
Modifier and Type | Method and Description |
---|---|
RollbackRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RollbackRequest |
build() |
RollbackRequest |
buildPartial() |
RollbackRequest.Builder |
clear() |
RollbackRequest.Builder |
clearDatabase()
Required.
|
RollbackRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RollbackRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RollbackRequest.Builder |
clearTransaction()
Required.
|
RollbackRequest.Builder |
clone() |
String |
getDatabase()
Required.
|
com.google.protobuf.ByteString |
getDatabaseBytes()
Required.
|
RollbackRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getTransaction()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RollbackRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RollbackRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
RollbackRequest.Builder |
mergeFrom(RollbackRequest other) |
RollbackRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RollbackRequest.Builder |
setDatabase(String value)
Required.
|
RollbackRequest.Builder |
setDatabaseBytes(com.google.protobuf.ByteString value)
Required.
|
RollbackRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RollbackRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RollbackRequest.Builder |
setTransaction(com.google.protobuf.ByteString value)
Required.
|
RollbackRequest.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<RollbackRequest.Builder>
public RollbackRequest.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<RollbackRequest.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<RollbackRequest.Builder>
public RollbackRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RollbackRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RollbackRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RollbackRequest.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<RollbackRequest.Builder>
public RollbackRequest.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<RollbackRequest.Builder>
public RollbackRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RollbackRequest.Builder>
public RollbackRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RollbackRequest.Builder>
public RollbackRequest.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<RollbackRequest.Builder>
public RollbackRequest.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<RollbackRequest.Builder>
public RollbackRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RollbackRequest.Builder>
public RollbackRequest.Builder mergeFrom(RollbackRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RollbackRequest.Builder>
public RollbackRequest.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<RollbackRequest.Builder>
IOException
public String getDatabase()
Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
getDatabase
in interface RollbackRequestOrBuilder
public com.google.protobuf.ByteString getDatabaseBytes()
Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
getDatabaseBytes
in interface RollbackRequestOrBuilder
public RollbackRequest.Builder setDatabase(String value)
Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The database to set.public RollbackRequest.Builder clearDatabase()
Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
public RollbackRequest.Builder setDatabaseBytes(com.google.protobuf.ByteString value)
Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for database to set.public com.google.protobuf.ByteString getTransaction()
Required. The transaction to roll back.
bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED];
getTransaction
in interface RollbackRequestOrBuilder
public RollbackRequest.Builder setTransaction(com.google.protobuf.ByteString value)
Required. The transaction to roll back.
bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED];
value
- The transaction to set.public RollbackRequest.Builder clearTransaction()
Required. The transaction to roll back.
bytes transaction = 2 [(.google.api.field_behavior) = REQUIRED];
public final RollbackRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RollbackRequest.Builder>
public final RollbackRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RollbackRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.