public final class RollbackRequest extends GeneratedMessageV3 implements RollbackRequestOrBuilder
The request for Datastore.Rollback.
Protobuf type google.datastore.v1.RollbackRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RollbackRequestImplements
RollbackRequestOrBuilderStatic Fields
PROJECT_ID_FIELD_NUMBER
public static final int PROJECT_ID_FIELD_NUMBER
Type | Description |
int |
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RollbackRequest getDefaultInstance()
Type | Description |
RollbackRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static RollbackRequest.Builder newBuilder()
Type | Description |
RollbackRequest.Builder |
newBuilder(RollbackRequest prototype)
public static RollbackRequest.Builder newBuilder(RollbackRequest prototype)
Name | Description |
prototype | RollbackRequest |
Type | Description |
RollbackRequest.Builder |
parseDelimitedFrom(InputStream input)
public static RollbackRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static RollbackRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RollbackRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RollbackRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static RollbackRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RollbackRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RollbackRequest> parser()
Type | Description |
Parser<RollbackRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public RollbackRequest getDefaultInstanceForType()
Type | Description |
RollbackRequest |
getParserForType()
public Parser<RollbackRequest> getParserForType()
Type | Description |
Parser<RollbackRequest> |
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. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public RollbackRequest.Builder newBuilderForType()
Type | Description |
RollbackRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RollbackRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
RollbackRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public RollbackRequest.Builder toBuilder()
Type | Description |
RollbackRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |