Class RestoreBackupResponse (0.13.0)

public final class RestoreBackupResponse extends GeneratedMessageV3 implements RestoreBackupResponseOrBuilder

Response message for restoring from a Backup.

Protobuf type google.cloud.backupdr.v1.RestoreBackupResponse

Static Fields

TARGET_RESOURCE_FIELD_NUMBER

public static final int TARGET_RESOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RestoreBackupResponse getDefaultInstance()
Returns
Type Description
RestoreBackupResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RestoreBackupResponse.Builder newBuilder()
Returns
Type Description
RestoreBackupResponse.Builder

newBuilder(RestoreBackupResponse prototype)

public static RestoreBackupResponse.Builder newBuilder(RestoreBackupResponse prototype)
Parameter
Name Description
prototype RestoreBackupResponse
Returns
Type Description
RestoreBackupResponse.Builder

parseDelimitedFrom(InputStream input)

public static RestoreBackupResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreBackupResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RestoreBackupResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RestoreBackupResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RestoreBackupResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RestoreBackupResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RestoreBackupResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreBackupResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RestoreBackupResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreBackupResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RestoreBackupResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RestoreBackupResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreBackupResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RestoreBackupResponse> parser()
Returns
Type Description
Parser<RestoreBackupResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RestoreBackupResponse getDefaultInstanceForType()
Returns
Type Description
RestoreBackupResponse

getParserForType()

public Parser<RestoreBackupResponse> getParserForType()
Returns
Type Description
Parser<RestoreBackupResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetResource()

public TargetResource getTargetResource()

Details of the target resource created/modified as part of restore.

.google.cloud.backupdr.v1.TargetResource target_resource = 1;

Returns
Type Description
TargetResource

The targetResource.

getTargetResourceOrBuilder()

public TargetResourceOrBuilder getTargetResourceOrBuilder()

Details of the target resource created/modified as part of restore.

.google.cloud.backupdr.v1.TargetResource target_resource = 1;

Returns
Type Description
TargetResourceOrBuilder

hasTargetResource()

public boolean hasTargetResource()

Details of the target resource created/modified as part of restore.

.google.cloud.backupdr.v1.TargetResource target_resource = 1;

Returns
Type Description
boolean

Whether the targetResource field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RestoreBackupResponse.Builder newBuilderForType()
Returns
Type Description
RestoreBackupResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RestoreBackupResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RestoreBackupResponse.Builder toBuilder()
Returns
Type Description
RestoreBackupResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException