Class ListBackupsRequest.Builder (0.29.0)

publicstaticfinalclass ListBackupsRequest.BuilderextendsGeneratedMessageV3.Builder<ListBackupsRequest.Builder>implementsListBackupsRequestOrBuilder

Request message for listing Backups.

Protobuf type google.cloud.backupdr.v1.ListBackupsRequest

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListBackupsRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBackupsRequest.Builder
Overrides

build()

publicListBackupsRequestbuild()
Returns
Type Description
ListBackupsRequest

buildPartial()

publicListBackupsRequestbuildPartial()
Returns
Type Description
ListBackupsRequest

clear()

publicListBackupsRequest.Builderclear()
Returns
Type Description
ListBackupsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicListBackupsRequest.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListBackupsRequest.Builder
Overrides

clearFilter()

publicListBackupsRequest.BuilderclearFilter()

Optional. Filtering results.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicListBackupsRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListBackupsRequest.Builder
Overrides

clearOrderBy()

publicListBackupsRequest.BuilderclearOrderBy()

Optional. Hint for how to order the results.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

clearPageSize()

publicListBackupsRequest.BuilderclearPageSize()

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

clearPageToken()

publicListBackupsRequest.BuilderclearPageToken()

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

clearParent()

publicListBackupsRequest.BuilderclearParent()

Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources for all locations, use "-" for the '{location}' value.

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

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

clearView()

publicListBackupsRequest.BuilderclearView()

Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.

.google.cloud.backupdr.v1.BackupView view = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

clone()

publicListBackupsRequest.Builderclone()
Returns
Type Description
ListBackupsRequest.Builder
Overrides

getDefaultInstanceForType()

publicListBackupsRequestgetDefaultInstanceForType()
Returns
Type Description
ListBackupsRequest

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilter()

publicStringgetFilter()

Optional. Filtering results.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

publicByteStringgetFilterBytes()

Optional. Filtering results.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getOrderBy()

publicStringgetOrderBy()

Optional. Hint for how to order the results.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The orderBy.

getOrderByBytes()

publicByteStringgetOrderByBytes()

Optional. Hint for how to order the results.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for orderBy.

getPageSize()

publicintgetPageSize()

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

publicStringgetPageToken()

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

publicByteStringgetPageTokenBytes()

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

publicStringgetParent()

Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources for all locations, use "-" for the '{location}' value.

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

Returns
Type Description
String

The parent.

getParentBytes()

publicByteStringgetParentBytes()

Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources for all locations, use "-" for the '{location}' value.

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

Returns
Type Description
ByteString

The bytes for parent.

getView()

publicBackupViewgetView()

Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.

.google.cloud.backupdr.v1.BackupView view = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BackupView

The view.

getViewValue()

publicintgetViewValue()

Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.

.google.cloud.backupdr.v1.BackupView view = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for view.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBackupsRequest other)

publicListBackupsRequest.BuildermergeFrom(ListBackupsRequestother)
Parameter
Name Description
other ListBackupsRequest
Returns
Type Description
ListBackupsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListBackupsRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListBackupsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicListBackupsRequest.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ListBackupsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListBackupsRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBackupsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

publicListBackupsRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListBackupsRequest.Builder
Overrides

setFilter(String value)

publicListBackupsRequest.BuildersetFilter(Stringvalue)

Optional. Filtering results.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

publicListBackupsRequest.BuildersetFilterBytes(ByteStringvalue)

Optional. Filtering results.

string filter = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setOrderBy(String value)

publicListBackupsRequest.BuildersetOrderBy(Stringvalue)

Optional. Hint for how to order the results.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The orderBy to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setOrderByBytes(ByteString value)

publicListBackupsRequest.BuildersetOrderByBytes(ByteStringvalue)

Optional. Hint for how to order the results.

string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for orderBy to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setPageSize(int value)

publicListBackupsRequest.BuildersetPageSize(intvalue)

Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setPageToken(String value)

publicListBackupsRequest.BuildersetPageToken(Stringvalue)

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

publicListBackupsRequest.BuildersetPageTokenBytes(ByteStringvalue)

Optional. A token identifying a page of results the server should return.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setParent(String value)

publicListBackupsRequest.BuildersetParent(Stringvalue)

Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources for all locations, use "-" for the '{location}' value.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

publicListBackupsRequest.BuildersetParentBytes(ByteStringvalue)

Required. The project and location for which to retrieve backup information, in the format 'projects/{project_id}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve data sources for all locations, use "-" for the '{location}' value.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

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

publicListBackupsRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListBackupsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListBackupsRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListBackupsRequest.Builder
Overrides

setView(BackupView value)

publicListBackupsRequest.BuildersetView(BackupViewvalue)

Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.

.google.cloud.backupdr.v1.BackupView view = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BackupView

The view to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

setViewValue(int value)

publicListBackupsRequest.BuildersetViewValue(intvalue)

Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.

.google.cloud.backupdr.v1.BackupView view = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for view to set.

Returns
Type Description
ListBackupsRequest.Builder

This builder for chaining.

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.