Interface ListBackupPlansResponseOrBuilder (0.10.0)

public interface ListBackupPlansResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPlans(int index)

public abstract BackupPlan getBackupPlans(int index)

The list of BackupPlans 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 backup plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. BackupPlan

repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlan

getBackupPlansCount()

public abstract int getBackupPlansCount()

The list of BackupPlans 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 backup plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. BackupPlan

repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;

Returns
Type Description
int

getBackupPlansList()

public abstract List<BackupPlan> getBackupPlansList()

The list of BackupPlans 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 backup plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. BackupPlan

repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;

Returns
Type Description
List<BackupPlan>

getBackupPlansOrBuilder(int index)

public abstract BackupPlanOrBuilder getBackupPlansOrBuilder(int index)

The list of BackupPlans 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 backup plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. BackupPlan

repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupPlanOrBuilder

getBackupPlansOrBuilderList()

public abstract List<? extends BackupPlanOrBuilder> getBackupPlansOrBuilderList()

The list of BackupPlans 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 backup plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. BackupPlan

repeated .google.cloud.backupdr.v1.BackupPlan backup_plans = 1;

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

getNextPageToken()

public abstract String getNextPageToken()

A token which may be sent as page_token in a subsequent ListBackupPlans 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 abstract ByteString getNextPageTokenBytes()

A token which may be sent as page_token in a subsequent ListBackupPlans 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.

getUnreachable(int index)

public abstract 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 abstract 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 abstract int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
List<String>

A list containing the unreachable.