Class FetchUsableBackupVaultsResponse.Builder (0.18.0)

publicstaticfinalclass FetchUsableBackupVaultsResponse.BuilderextendsGeneratedMessageV3.Builder<FetchUsableBackupVaultsResponse.Builder>implementsFetchUsableBackupVaultsResponseOrBuilder

Response message for fetching usable BackupVaults.

Protobuf type google.cloud.backupdr.v1.FetchUsableBackupVaultsResponse

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

addAllBackupVaults(Iterable<? extends BackupVault> values)

publicFetchUsableBackupVaultsResponse.BuilderaddAllBackupVaults(Iterable<?extendsBackupVault>values)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

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

addAllUnreachable(Iterable<String> values)

publicFetchUsableBackupVaultsResponse.BuilderaddAllUnreachable(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
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

addBackupVaults(BackupVault value)

publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(BackupVaultvalue)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameter
Name Description
value BackupVault
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

addBackupVaults(BackupVault.Builder builderForValue)

publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(BackupVault.BuilderbuilderForValue)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameter
Name Description
builderForValue BackupVault.Builder
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

addBackupVaults(int index, BackupVault value)

publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(intindex,BackupVaultvalue)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameters
Name Description
index int
value BackupVault
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

addBackupVaults(int index, BackupVault.Builder builderForValue)

publicFetchUsableBackupVaultsResponse.BuilderaddBackupVaults(intindex,BackupVault.BuilderbuilderForValue)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameters
Name Description
index int
builderForValue BackupVault.Builder
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

addBackupVaultsBuilder()

publicBackupVault.BuilderaddBackupVaultsBuilder()

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Returns
Type Description
BackupVault.Builder

addBackupVaultsBuilder(int index)

publicBackupVault.BuilderaddBackupVaultsBuilder(intindex)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupVault.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

publicFetchUsableBackupVaultsResponse.BuilderaddUnreachable(Stringvalue)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

publicFetchUsableBackupVaultsResponse.BuilderaddUnreachableBytes(ByteStringvalue)

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
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

build()

publicFetchUsableBackupVaultsResponsebuild()
Returns
Type Description
FetchUsableBackupVaultsResponse

buildPartial()

publicFetchUsableBackupVaultsResponsebuildPartial()
Returns
Type Description
FetchUsableBackupVaultsResponse

clear()

publicFetchUsableBackupVaultsResponse.Builderclear()
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

clearBackupVaults()

publicFetchUsableBackupVaultsResponse.BuilderclearBackupVaults()

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

publicFetchUsableBackupVaultsResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

clearNextPageToken()

publicFetchUsableBackupVaultsResponse.BuilderclearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicFetchUsableBackupVaultsResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

clearUnreachable()

publicFetchUsableBackupVaultsResponse.BuilderclearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

clone()

publicFetchUsableBackupVaultsResponse.Builderclone()
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

getBackupVaults(int index)

publicBackupVaultgetBackupVaults(intindex)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupVault

getBackupVaultsBuilder(int index)

publicBackupVault.BuildergetBackupVaultsBuilder(intindex)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupVault.Builder

getBackupVaultsBuilderList()

publicList<BackupVault.Builder>getBackupVaultsBuilderList()

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Returns
Type Description
List<Builder>

getBackupVaultsCount()

publicintgetBackupVaultsCount()

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Returns
Type Description
int

getBackupVaultsList()

publicList<BackupVault>getBackupVaultsList()

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Returns
Type Description
List<BackupVault>

getBackupVaultsOrBuilder(int index)

publicBackupVaultOrBuildergetBackupVaultsOrBuilder(intindex)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameter
Name Description
index int
Returns
Type Description
BackupVaultOrBuilder

getBackupVaultsOrBuilderList()

publicList<?extendsBackupVaultOrBuilder>getBackupVaultsOrBuilderList()

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

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

getDefaultInstanceForType()

publicFetchUsableBackupVaultsResponsegetDefaultInstanceForType()
Returns
Type Description
FetchUsableBackupVaultsResponse

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

publicStringgetNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

publicByteStringgetNextPageTokenBytes()

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

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchUsableBackupVaultsResponse other)

publicFetchUsableBackupVaultsResponse.BuildermergeFrom(FetchUsableBackupVaultsResponseother)
Parameter
Name Description
other FetchUsableBackupVaultsResponse
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

publicFetchUsableBackupVaultsResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalFetchUsableBackupVaultsResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

removeBackupVaults(int index)

publicFetchUsableBackupVaultsResponse.BuilderremoveBackupVaults(intindex)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameter
Name Description
index int
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

setBackupVaults(int index, BackupVault value)

publicFetchUsableBackupVaultsResponse.BuildersetBackupVaults(intindex,BackupVaultvalue)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameters
Name Description
index int
value BackupVault
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

setBackupVaults(int index, BackupVault.Builder builderForValue)

publicFetchUsableBackupVaultsResponse.BuildersetBackupVaults(intindex,BackupVault.BuilderbuilderForValue)

The list of BackupVault instances in the project for the specified location.

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

repeated .google.cloud.backupdr.v1.BackupVault backup_vaults = 1;

Parameters
Name Description
index int
builderForValue BackupVault.Builder
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

publicFetchUsableBackupVaultsResponse.BuildersetNextPageToken(Stringvalue)

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

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

publicFetchUsableBackupVaultsResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalFetchUsableBackupVaultsResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

setUnreachable(int index, String value)

publicFetchUsableBackupVaultsResponse.BuildersetUnreachable(intindex,Stringvalue)

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
FetchUsableBackupVaultsResponse.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.