Class RestoreBackupResponse.Builder (0.13.0)

public static final class RestoreBackupResponse.Builder extends GeneratedMessageV3.Builder<RestoreBackupResponse.Builder> implements RestoreBackupResponseOrBuilder

Response message for restoring from a Backup.

Protobuf type google.cloud.backupdr.v1.RestoreBackupResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RestoreBackupResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

build()

public RestoreBackupResponse build()
Returns
Type Description
RestoreBackupResponse

buildPartial()

public RestoreBackupResponse buildPartial()
Returns
Type Description
RestoreBackupResponse

clear()

public RestoreBackupResponse.Builder clear()
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RestoreBackupResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RestoreBackupResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

clearTargetResource()

public RestoreBackupResponse.Builder clearTargetResource()

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

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

Returns
Type Description
RestoreBackupResponse.Builder

clone()

public RestoreBackupResponse.Builder clone()
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

getDefaultInstanceForType()

public RestoreBackupResponse getDefaultInstanceForType()
Returns
Type Description
RestoreBackupResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

getTargetResourceBuilder()

public TargetResource.Builder getTargetResourceBuilder()

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

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

Returns
Type Description
TargetResource.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RestoreBackupResponse other)

public RestoreBackupResponse.Builder mergeFrom(RestoreBackupResponse other)
Parameter
Name Description
other RestoreBackupResponse
Returns
Type Description
RestoreBackupResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RestoreBackupResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreBackupResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RestoreBackupResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

mergeTargetResource(TargetResource value)

public RestoreBackupResponse.Builder mergeTargetResource(TargetResource value)

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

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

Parameter
Name Description
value TargetResource
Returns
Type Description
RestoreBackupResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RestoreBackupResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RestoreBackupResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RestoreBackupResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RestoreBackupResponse.Builder
Overrides

setTargetResource(TargetResource value)

public RestoreBackupResponse.Builder setTargetResource(TargetResource value)

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

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

Parameter
Name Description
value TargetResource
Returns
Type Description
RestoreBackupResponse.Builder

setTargetResource(TargetResource.Builder builderForValue)

public RestoreBackupResponse.Builder setTargetResource(TargetResource.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue TargetResource.Builder
Returns
Type Description
RestoreBackupResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final RestoreBackupResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RestoreBackupResponse.Builder
Overrides