Class ListBackupVaultsResponse.Builder (0.18.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.netapp.v1.BackupVault>
Returns
TypeDescription
ListBackupVaultsResponse.Builder

addAllUnreachable(Iterable<String> values)

public ListBackupVaultsResponse.Builder addAllUnreachable(Iterable<String> values)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valuesIterable<String>

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueBackupVault
Returns
TypeDescription
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
NameDescription
builderForValueBackupVault.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueBackupVault
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBackupVault.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
BackupVault.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListBackupVaultsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListBackupVaultsResponse.Builder
Overrides

addUnreachable(String value)

public ListBackupVaultsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the unreachable to add.

Returns
TypeDescription
ListBackupVaultsResponse.Builder

This builder for chaining.

build()

public ListBackupVaultsResponse build()
Returns
TypeDescription
ListBackupVaultsResponse

buildPartial()

public ListBackupVaultsResponse buildPartial()
Returns
TypeDescription
ListBackupVaultsResponse

clear()

public ListBackupVaultsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListBackupVaultsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListBackupVaultsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListBackupVaultsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListBackupVaultsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListBackupVaultsResponse.Builder
Overrides

clearUnreachable()

public ListBackupVaultsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListBackupVaultsResponse.Builder

This builder for chaining.

clone()

public ListBackupVaultsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.netapp.v1.BackupVaultOrBuilder>

getDefaultInstanceForType()

public ListBackupVaultsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListBackupVaultsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the unreachable.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListBackupVaultsResponse other)

public ListBackupVaultsResponse.Builder mergeFrom(ListBackupVaultsResponse other)
Parameter
NameDescription
otherListBackupVaultsResponse
Returns
TypeDescription
ListBackupVaultsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListBackupVaultsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListBackupVaultsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListBackupVaultsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListBackupVaultsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListBackupVaultsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueBackupVault
Returns
TypeDescription
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
NameDescription
indexint
builderForValueBackupVault.Builder
Returns
TypeDescription
ListBackupVaultsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListBackupVaultsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListBackupVaultsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListBackupVaultsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The unreachable to set.

Returns
TypeDescription
ListBackupVaultsResponse.Builder

This builder for chaining.