Class ListRestoreVerificationPlansResponse.Builder (0.62.0)

public static final class ListRestoreVerificationPlansResponse.Builder extends GeneratedMessage.Builder<ListRestoreVerificationPlansResponse.Builder> implements ListRestoreVerificationPlansResponseOrBuilder

The response message for getting a list of RestoreVerificationPlans.

Protobuf type google.cloud.backupdr.v1.ListRestoreVerificationPlansResponse

Static Methods

getDescriptor()

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

Methods

addAllRestoreVerificationPlans(Iterable<? extends RestoreVerificationPlan> values)

public ListRestoreVerificationPlansResponse.Builder addAllRestoreVerificationPlans(Iterable<? extends RestoreVerificationPlan> values)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.backupdr.v1.RestoreVerificationPlan>
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListRestoreVerificationPlansResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.

addRestoreVerificationPlans(RestoreVerificationPlan value)

public ListRestoreVerificationPlansResponse.Builder addRestoreVerificationPlans(RestoreVerificationPlan value)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
value RestoreVerificationPlan
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

addRestoreVerificationPlans(RestoreVerificationPlan.Builder builderForValue)

public ListRestoreVerificationPlansResponse.Builder addRestoreVerificationPlans(RestoreVerificationPlan.Builder builderForValue)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
builderForValue RestoreVerificationPlan.Builder
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

addRestoreVerificationPlans(int index, RestoreVerificationPlan value)

public ListRestoreVerificationPlansResponse.Builder addRestoreVerificationPlans(int index, RestoreVerificationPlan value)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameters
Name Description
index int
value RestoreVerificationPlan
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

addRestoreVerificationPlans(int index, RestoreVerificationPlan.Builder builderForValue)

public ListRestoreVerificationPlansResponse.Builder addRestoreVerificationPlans(int index, RestoreVerificationPlan.Builder builderForValue)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameters
Name Description
index int
builderForValue RestoreVerificationPlan.Builder
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

addRestoreVerificationPlansBuilder()

public RestoreVerificationPlan.Builder addRestoreVerificationPlansBuilder()

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Returns
Type Description
RestoreVerificationPlan.Builder

addRestoreVerificationPlansBuilder(int index)

public RestoreVerificationPlan.Builder addRestoreVerificationPlansBuilder(int index)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
index int
Returns
Type Description
RestoreVerificationPlan.Builder

addUnreachable(String value)

public ListRestoreVerificationPlansResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListRestoreVerificationPlansResponse.Builder addUnreachableBytes(ByteString value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.

build()

public ListRestoreVerificationPlansResponse build()
Returns
Type Description
ListRestoreVerificationPlansResponse

buildPartial()

public ListRestoreVerificationPlansResponse buildPartial()
Returns
Type Description
ListRestoreVerificationPlansResponse

clear()

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

clearNextPageToken()

public ListRestoreVerificationPlansResponse.Builder clearNextPageToken()

A token which may be sent as page_token in a subsequent ListRestoreVerificationPlans call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.

clearRestoreVerificationPlans()

public ListRestoreVerificationPlansResponse.Builder clearRestoreVerificationPlans()

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

clearUnreachable()

public ListRestoreVerificationPlansResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListRestoreVerificationPlansResponse getDefaultInstanceForType()
Returns
Type Description
ListRestoreVerificationPlansResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token which may be sent as page_token in a subsequent ListRestoreVerificationPlans call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token which may be sent as page_token in a subsequent ListRestoreVerificationPlans call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getRestoreVerificationPlans(int index)

public RestoreVerificationPlan getRestoreVerificationPlans(int index)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
index int
Returns
Type Description
RestoreVerificationPlan

getRestoreVerificationPlansBuilder(int index)

public RestoreVerificationPlan.Builder getRestoreVerificationPlansBuilder(int index)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
index int
Returns
Type Description
RestoreVerificationPlan.Builder

getRestoreVerificationPlansBuilderList()

public List<RestoreVerificationPlan.Builder> getRestoreVerificationPlansBuilderList()

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Returns
Type Description
List<Builder>

getRestoreVerificationPlansCount()

public int getRestoreVerificationPlansCount()

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Returns
Type Description
int

getRestoreVerificationPlansList()

public List<RestoreVerificationPlan> getRestoreVerificationPlansList()

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Returns
Type Description
List<RestoreVerificationPlan>

getRestoreVerificationPlansOrBuilder(int index)

public RestoreVerificationPlanOrBuilder getRestoreVerificationPlansOrBuilder(int index)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
index int
Returns
Type Description
RestoreVerificationPlanOrBuilder

getRestoreVerificationPlansOrBuilderList()

public List<? extends RestoreVerificationPlanOrBuilder> getRestoreVerificationPlansOrBuilderList()

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Returns
Type Description
List<? extends com.google.cloud.backupdr.v1.RestoreVerificationPlanOrBuilder>

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListRestoreVerificationPlansResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeRestoreVerificationPlans(int index)

public ListRestoreVerificationPlansResponse.Builder removeRestoreVerificationPlans(int index)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameter
Name Description
index int
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

setNextPageToken(String value)

public ListRestoreVerificationPlansResponse.Builder setNextPageToken(String value)

A token which may be sent as page_token in a subsequent ListRestoreVerificationPlans call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListRestoreVerificationPlansResponse.Builder setNextPageTokenBytes(ByteString value)

A token which may be sent as page_token in a subsequent ListRestoreVerificationPlans call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.

setRestoreVerificationPlans(int index, RestoreVerificationPlan value)

public ListRestoreVerificationPlansResponse.Builder setRestoreVerificationPlans(int index, RestoreVerificationPlan value)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameters
Name Description
index int
value RestoreVerificationPlan
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

setRestoreVerificationPlans(int index, RestoreVerificationPlan.Builder builderForValue)

public ListRestoreVerificationPlansResponse.Builder setRestoreVerificationPlans(int index, RestoreVerificationPlan.Builder builderForValue)

The list of RestoreVerificationPlans in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return restore verification plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

repeated .google.cloud.backupdr.v1.RestoreVerificationPlan restore_verification_plans = 1;

Parameters
Name Description
index int
builderForValue RestoreVerificationPlan.Builder
Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

setUnreachable(int index, String value)

public ListRestoreVerificationPlansResponse.Builder setUnreachable(int index, String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListRestoreVerificationPlansResponse.Builder

This builder for chaining.