Class FetchUsableBackupVaultsResponse.Builder (0.10.0)

public static final class FetchUsableBackupVaultsResponse.Builder extends GeneratedMessageV3.Builder<FetchUsableBackupVaultsResponse.Builder> implements FetchUsableBackupVaultsResponseOrBuilder

Response message for fetching usable BackupVaults.

Protobuf type google.cloud.backupdr.v1.FetchUsableBackupVaultsResponse

Static Methods

getDescriptor()

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

Methods

addAllBackupVaults(Iterable<? extends BackupVault> values)

public FetchUsableBackupVaultsResponse.Builder addAllBackupVaults(Iterable<? extends BackupVault> 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)

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

This builder for chaining.

addBackupVaults(BackupVault value)

public FetchUsableBackupVaultsResponse.Builder addBackupVaults(BackupVault value)

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)

public FetchUsableBackupVaultsResponse.Builder addBackupVaults(BackupVault.Builder builderForValue)

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)

public FetchUsableBackupVaultsResponse.Builder addBackupVaults(int index, BackupVault value)

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)

public FetchUsableBackupVaultsResponse.Builder addBackupVaults(int index, BackupVault.Builder builderForValue)

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

public BackupVault.Builder addBackupVaultsBuilder()

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)

public BackupVault.Builder addBackupVaultsBuilder(int index)

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)

public FetchUsableBackupVaultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public FetchUsableBackupVaultsResponse build()
Returns
Type Description
FetchUsableBackupVaultsResponse

buildPartial()

public FetchUsableBackupVaultsResponse buildPartial()
Returns
Type Description
FetchUsableBackupVaultsResponse

clear()

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

clearBackupVaults()

public FetchUsableBackupVaultsResponse.Builder clearBackupVaults()

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)

public FetchUsableBackupVaultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

clearNextPageToken()

public FetchUsableBackupVaultsResponse.Builder clearNextPageToken()

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)

public FetchUsableBackupVaultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

clearUnreachable()

public FetchUsableBackupVaultsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
FetchUsableBackupVaultsResponse.Builder

This builder for chaining.

clone()

public FetchUsableBackupVaultsResponse.Builder clone()
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

getBackupVaults(int index)

public BackupVault getBackupVaults(int index)

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)

public BackupVault.Builder getBackupVaultsBuilder(int index)

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

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

public int getBackupVaultsCount()

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

public List<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)

public BackupVaultOrBuilder getBackupVaultsOrBuilder(int index)

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

public List<? extends BackupVaultOrBuilder> 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()

public FetchUsableBackupVaultsResponse getDefaultInstanceForType()
Returns
Type Description
FetchUsableBackupVaultsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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)

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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FetchUsableBackupVaultsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FetchUsableBackupVaultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

removeBackupVaults(int index)

public FetchUsableBackupVaultsResponse.Builder removeBackupVaults(int index)

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)

public FetchUsableBackupVaultsResponse.Builder setBackupVaults(int index, BackupVault value)

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)

public FetchUsableBackupVaultsResponse.Builder setBackupVaults(int index, BackupVault.Builder builderForValue)

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)

public FetchUsableBackupVaultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

setNextPageToken(String value)

public FetchUsableBackupVaultsResponse.Builder setNextPageToken(String value)

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)

public FetchUsableBackupVaultsResponse.Builder setNextPageTokenBytes(ByteString value)

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)

public FetchUsableBackupVaultsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FetchUsableBackupVaultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FetchUsableBackupVaultsResponse.Builder
Overrides

setUnreachable(int index, String value)

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

This builder for chaining.