public static final class RollbackRequest.Builder extends GeneratedMessageV3.Builder<RollbackRequest.Builder> implements RollbackRequestOrBuilder
The request for Datastore.Rollback.
Protobuf type google.datastore.v1.RollbackRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RollbackRequest.BuilderImplements
RollbackRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RollbackRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RollbackRequest.Builder |
build()
public RollbackRequest build()
Type | Description |
RollbackRequest |
buildPartial()
public RollbackRequest buildPartial()
Type | Description |
RollbackRequest |
clear()
public RollbackRequest.Builder clear()
Type | Description |
RollbackRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public RollbackRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RollbackRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RollbackRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RollbackRequest.Builder |
clearProjectId()
public RollbackRequest.Builder clearProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
clearTransaction()
public RollbackRequest.Builder clearTransaction()
Required. The transaction identifier, returned by a call to Datastore.BeginTransaction.
bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
clone()
public RollbackRequest.Builder clone()
Type | Description |
RollbackRequest.Builder |
getDefaultInstanceForType()
public RollbackRequest getDefaultInstanceForType()
Type | Description |
RollbackRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProjectId()
public String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for projectId. |
getTransaction()
public ByteString getTransaction()
Required. The transaction identifier, returned by a call to Datastore.BeginTransaction.
bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The transaction. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(RollbackRequest other)
public RollbackRequest.Builder mergeFrom(RollbackRequest other)
Name | Description |
other | RollbackRequest |
Type | Description |
RollbackRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RollbackRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RollbackRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RollbackRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RollbackRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RollbackRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RollbackRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RollbackRequest.Builder |
setProjectId(String value)
public RollbackRequest.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];
Name | Description |
value | String The projectId to set. |
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
setProjectIdBytes(ByteString value)
public RollbackRequest.Builder setProjectIdBytes(ByteString value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RollbackRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RollbackRequest.Builder |
setTransaction(ByteString value)
public RollbackRequest.Builder setTransaction(ByteString value)
Required. The transaction identifier, returned by a call to Datastore.BeginTransaction.
bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The transaction to set. |
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RollbackRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RollbackRequest.Builder |