Class GetRestoreVerificationPlanRequest.Builder (0.62.0)

public static final class GetRestoreVerificationPlanRequest.Builder extends GeneratedMessage.Builder<GetRestoreVerificationPlanRequest.Builder> implements GetRestoreVerificationPlanRequestOrBuilder

The request message for getting a RestoreVerificationPlan.

Protobuf type google.cloud.backupdr.v1.GetRestoreVerificationPlanRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetRestoreVerificationPlanRequest build()
Returns
Type Description
GetRestoreVerificationPlanRequest

buildPartial()

public GetRestoreVerificationPlanRequest buildPartial()
Returns
Type Description
GetRestoreVerificationPlanRequest

clear()

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

clearName()

public GetRestoreVerificationPlanRequest.Builder clearName()

Required. The resource name of the RestoreVerificationPlan to retrieve.

Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
GetRestoreVerificationPlanRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetRestoreVerificationPlanRequest getDefaultInstanceForType()
Returns
Type Description
GetRestoreVerificationPlanRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The resource name of the RestoreVerificationPlan to retrieve.

Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the RestoreVerificationPlan to retrieve.

Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetRestoreVerificationPlanRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetRestoreVerificationPlanRequest.Builder setName(String value)

Required. The resource name of the RestoreVerificationPlan to retrieve.

Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetRestoreVerificationPlanRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetRestoreVerificationPlanRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the RestoreVerificationPlan to retrieve.

Format: projects/{project}/locations/{location}/restoreVerificationPlans/{restoreVerificationPlan}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetRestoreVerificationPlanRequest.Builder

This builder for chaining.