Class ListBackupVaultsResponse.Builder (0.32.0)

public static final class ListBackupVaultsResponse.Builder extends GeneratedMessageV3.Builder<ListBackupVaultsResponse.Builder> implements ListBackupVaultsResponseOrBuilder

ListBackupVaultsResponse is the result of ListBackupVaultsRequest.

Protobuf type google.cloud.netapp.v1.ListBackupVaultsResponse

Static Methods

getDescriptor()

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

Methods

addAllBackupVaults(Iterable<? extends BackupVault> values)

public ListBackupVaultsResponse.Builder addAllBackupVaults(Iterable<? extends BackupVault> values)

A list of backupVaults in the project for the specified location.

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

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addBackupVaults(BackupVault value)

public ListBackupVaultsResponse.Builder addBackupVaults(BackupVault value)

A list of backupVaults in the project for the specified location.

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

Parameter
Name Description
value BackupVault
Returns
Type Description
ListBackupVaultsResponse.Builder

addBackupVaults(BackupVault.Builder builderForValue)

public ListBackupVaultsResponse.Builder addBackupVaults(BackupVault.Builder builderForValue)

A list of backupVaults in the project for the specified location.

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

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

addBackupVaults(int index, BackupVault value)

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

A list of backupVaults in the project for the specified location.

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

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

addBackupVaults(int index, BackupVault.Builder builderForValue)

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

A list of backupVaults in the project for the specified location.

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

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

addBackupVaultsBuilder()

public BackupVault.Builder addBackupVaultsBuilder()

A list of backupVaults in the project for the specified location.

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

Returns
Type Description
BackupVault.Builder

addBackupVaultsBuilder(int index)

public BackupVault.Builder addBackupVaultsBuilder(int index)

A list of backupVaults in the project for the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
BackupVault.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListBackupVaultsResponse build()
Returns
Type Description
ListBackupVaultsResponse

buildPartial()

public ListBackupVaultsResponse buildPartial()
Returns
Type Description
ListBackupVaultsResponse

clear()

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

clearBackupVaults()

public ListBackupVaultsResponse.Builder clearBackupVaults()

A list of backupVaults in the project for the specified location.

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

Returns
Type Description
ListBackupVaultsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListBackupVaultsResponse.Builder clearNextPageToken()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListBackupVaultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUnreachable()

public ListBackupVaultsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListBackupVaultsResponse.Builder

This builder for chaining.

clone()

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

getBackupVaults(int index)

public BackupVault getBackupVaults(int index)

A list of backupVaults in the project for the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
BackupVault

getBackupVaultsBuilder(int index)

public BackupVault.Builder getBackupVaultsBuilder(int index)

A list of backupVaults in the project for the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
BackupVault.Builder

getBackupVaultsBuilderList()

public List<BackupVault.Builder> getBackupVaultsBuilderList()

A list of backupVaults in the project for the specified location.

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

Returns
Type Description
List<Builder>

getBackupVaultsCount()

public int getBackupVaultsCount()

A list of backupVaults in the project for the specified location.

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

Returns
Type Description
int

getBackupVaultsList()

public List<BackupVault> getBackupVaultsList()

A list of backupVaults in the project for the specified location.

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

Returns
Type Description
List<BackupVault>

getBackupVaultsOrBuilder(int index)

public BackupVaultOrBuilder getBackupVaultsOrBuilder(int index)

A list of backupVaults in the project for the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
BackupVaultOrBuilder

getBackupVaultsOrBuilderList()

public List<? extends BackupVaultOrBuilder> getBackupVaultsOrBuilderList()

A list of backupVaults in the project for the specified location.

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

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

getDefaultInstanceForType()

public ListBackupVaultsResponse getDefaultInstanceForType()
Returns
Type Description
ListBackupVaultsResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeBackupVaults(int index)

public ListBackupVaultsResponse.Builder removeBackupVaults(int index)

A list of backupVaults in the project for the specified location.

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

Parameter
Name Description
index int
Returns
Type Description
ListBackupVaultsResponse.Builder

setBackupVaults(int index, BackupVault value)

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

A list of backupVaults in the project for the specified location.

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

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

setBackupVaults(int index, BackupVault.Builder builderForValue)

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

A list of backupVaults in the project for the specified location.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListBackupVaultsResponse.Builder setNextPageToken(String value)

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListBackupVaultsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListBackupVaultsResponse.Builder setNextPageTokenBytes(ByteString value)

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListBackupVaultsResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUnreachable(int index, String value)

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

This builder for chaining.