Class ListBackupPlansResponse (0.39.0)

publicfinalclass ListBackupPlansResponseextendsGeneratedMessageV3implementsListBackupPlansResponseOrBuilder

The response message for getting a list of BackupPlan.

Protobuf type google.cloud.backupdr.v1.ListBackupPlansResponse

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

BACKUP_PLANS_FIELD_NUMBER

publicstaticfinalintBACKUP_PLANS_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

publicstaticfinalintNEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

UNREACHABLE_FIELD_NUMBER

publicstaticfinalintUNREACHABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticListBackupPlansResponsegetDefaultInstance()
Returns
Type Description
ListBackupPlansResponse

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticListBackupPlansResponse.BuildernewBuilder()
Returns
Type Description
ListBackupPlansResponse.Builder

newBuilder(ListBackupPlansResponse prototype)

publicstaticListBackupPlansResponse.BuildernewBuilder(ListBackupPlansResponseprototype)
Parameter
Name Description
prototype ListBackupPlansResponse
Returns
Type Description
ListBackupPlansResponse.Builder

parseDelimitedFrom(InputStream input)

publicstaticListBackupPlansResponseparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticListBackupPlansResponseparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticListBackupPlansResponseparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticListBackupPlansResponseparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticListBackupPlansResponseparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticListBackupPlansResponseparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticListBackupPlansResponseparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticListBackupPlansResponseparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticListBackupPlansResponseparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticListBackupPlansResponseparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticListBackupPlansResponseparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticListBackupPlansResponseparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupPlansResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<ListBackupPlansResponse>parser()
Returns
Type Description
Parser<ListBackupPlansResponse>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupPlans(int index)

publicBackupPlangetBackupPlans(intindex)

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()

publicintgetBackupPlansCount()

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()

publicList<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)

publicBackupPlanOrBuildergetBackupPlansOrBuilder(intindex)

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()

publicList<?extendsBackupPlanOrBuilder>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>

getDefaultInstanceForType()

publicListBackupPlansResponsegetDefaultInstanceForType()
Returns
Type Description
ListBackupPlansResponse

getNextPageToken()

publicStringgetNextPageToken()

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()

publicByteStringgetNextPageTokenBytes()

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.

getParserForType()

publicParser<ListBackupPlansResponse>getParserForType()
Returns
Type Description
Parser<ListBackupPlansResponse>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnreachable(int index)

publicStringgetUnreachable(intindex)

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)

publicByteStringgetUnreachableBytes(intindex)

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()

publicintgetUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

publicProtocolStringListgetUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicListBackupPlansResponse.BuildernewBuilderForType()
Returns
Type Description
ListBackupPlansResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedListBackupPlansResponse.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListBackupPlansResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicListBackupPlansResponse.BuildertoBuilder()
Returns
Type Description
ListBackupPlansResponse.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.