Class ListBackupConfigsResponse.Builder (0.82.0)

public static final class ListBackupConfigsResponse.Builder extends GeneratedMessage.Builder<ListBackupConfigsResponse.Builder> implements ListBackupConfigsResponseOrBuilder

Message for response to listing BackupConfigs in an ONTAP StoragePool.

Protobuf type google.cloud.netapp.v1.ListBackupConfigsResponse

Static Methods

getDescriptor()

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

Methods

addAllUnreachable(Iterable<String> values)

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

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<String>

The unreachable to add.

Returns
Type Description
ListBackupConfigsResponse.Builder

This builder for chaining.

addAllVolumeBackupConfigs(Iterable<? extends VolumeBackupConfig> values)

public ListBackupConfigsResponse.Builder addAllVolumeBackupConfigs(Iterable<? extends VolumeBackupConfig> values)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

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

addUnreachable(String value)

public ListBackupConfigsResponse.Builder addUnreachable(String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value String

The unreachable to add.

Returns
Type Description
ListBackupConfigsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public ListBackupConfigsResponse.Builder addUnreachableBytes(ByteString value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
ListBackupConfigsResponse.Builder

This builder for chaining.

addVolumeBackupConfigs(VolumeBackupConfig value)

public ListBackupConfigsResponse.Builder addVolumeBackupConfigs(VolumeBackupConfig value)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameter
Name Description
value VolumeBackupConfig
Returns
Type Description
ListBackupConfigsResponse.Builder

addVolumeBackupConfigs(VolumeBackupConfig.Builder builderForValue)

public ListBackupConfigsResponse.Builder addVolumeBackupConfigs(VolumeBackupConfig.Builder builderForValue)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameter
Name Description
builderForValue VolumeBackupConfig.Builder
Returns
Type Description
ListBackupConfigsResponse.Builder

addVolumeBackupConfigs(int index, VolumeBackupConfig value)

public ListBackupConfigsResponse.Builder addVolumeBackupConfigs(int index, VolumeBackupConfig value)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameters
Name Description
index int
value VolumeBackupConfig
Returns
Type Description
ListBackupConfigsResponse.Builder

addVolumeBackupConfigs(int index, VolumeBackupConfig.Builder builderForValue)

public ListBackupConfigsResponse.Builder addVolumeBackupConfigs(int index, VolumeBackupConfig.Builder builderForValue)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameters
Name Description
index int
builderForValue VolumeBackupConfig.Builder
Returns
Type Description
ListBackupConfigsResponse.Builder

addVolumeBackupConfigsBuilder()

public VolumeBackupConfig.Builder addVolumeBackupConfigsBuilder()

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Returns
Type Description
VolumeBackupConfig.Builder

addVolumeBackupConfigsBuilder(int index)

public VolumeBackupConfig.Builder addVolumeBackupConfigsBuilder(int index)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackupConfig.Builder

build()

public ListBackupConfigsResponse build()
Returns
Type Description
ListBackupConfigsResponse

buildPartial()

public ListBackupConfigsResponse buildPartial()
Returns
Type Description
ListBackupConfigsResponse

clear()

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

clearNextPageToken()

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

This builder for chaining.

clearUnreachable()

public ListBackupConfigsResponse.Builder clearUnreachable()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ListBackupConfigsResponse.Builder

This builder for chaining.

clearVolumeBackupConfigs()

public ListBackupConfigsResponse.Builder clearVolumeBackupConfigs()

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Returns
Type Description
ListBackupConfigsResponse.Builder

getDefaultInstanceForType()

public ListBackupConfigsResponse getDefaultInstanceForType()
Returns
Type Description
ListBackupConfigsResponse

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)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

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

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public ProtocolStringList getUnreachableList()

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

getVolumeBackupConfigs(int index)

public VolumeBackupConfig getVolumeBackupConfigs(int index)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackupConfig

getVolumeBackupConfigsBuilder(int index)

public VolumeBackupConfig.Builder getVolumeBackupConfigsBuilder(int index)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackupConfig.Builder

getVolumeBackupConfigsBuilderList()

public List<VolumeBackupConfig.Builder> getVolumeBackupConfigsBuilderList()

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Returns
Type Description
List<Builder>

getVolumeBackupConfigsCount()

public int getVolumeBackupConfigsCount()

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Returns
Type Description
int

getVolumeBackupConfigsList()

public List<VolumeBackupConfig> getVolumeBackupConfigsList()

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Returns
Type Description
List<VolumeBackupConfig>

getVolumeBackupConfigsOrBuilder(int index)

public VolumeBackupConfigOrBuilder getVolumeBackupConfigsOrBuilder(int index)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
VolumeBackupConfigOrBuilder

getVolumeBackupConfigsOrBuilderList()

public List<? extends VolumeBackupConfigOrBuilder> getVolumeBackupConfigsOrBuilderList()

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

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

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListBackupConfigsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeVolumeBackupConfigs(int index)

public ListBackupConfigsResponse.Builder removeVolumeBackupConfigs(int index)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameter
Name Description
index int
Returns
Type Description
ListBackupConfigsResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setUnreachable(int index, String value)

public ListBackupConfigsResponse.Builder setUnreachable(int index, String value)

Unordered list. Locations that could not be reached.

repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
ListBackupConfigsResponse.Builder

This builder for chaining.

setVolumeBackupConfigs(int index, VolumeBackupConfig value)

public ListBackupConfigsResponse.Builder setVolumeBackupConfigs(int index, VolumeBackupConfig value)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameters
Name Description
index int
value VolumeBackupConfig
Returns
Type Description
ListBackupConfigsResponse.Builder

setVolumeBackupConfigs(int index, VolumeBackupConfig.Builder builderForValue)

public ListBackupConfigsResponse.Builder setVolumeBackupConfigs(int index, VolumeBackupConfig.Builder builderForValue)

A list of backup configurations for volumes in the pool.

repeated .google.cloud.netapp.v1.VolumeBackupConfig volume_backup_configs = 1;

Parameters
Name Description
index int
builderForValue VolumeBackupConfig.Builder
Returns
Type Description
ListBackupConfigsResponse.Builder