Class ListStoragePoolsResponse.Builder (0.2.0)

public static final class ListStoragePoolsResponse.Builder extends GeneratedMessageV3.Builder<ListStoragePoolsResponse.Builder> implements ListStoragePoolsResponseOrBuilder

ListStoragePoolsResponse is the response to a ListStoragePoolsRequest.

Protobuf type google.cloud.netapp.v1.ListStoragePoolsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllStoragePools(Iterable<? extends StoragePool> values)

public ListStoragePoolsResponse.Builder addAllStoragePools(Iterable<? extends StoragePool> values)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.netapp.v1.StoragePool>
Returns
TypeDescription
ListStoragePoolsResponse.Builder

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addStoragePools(StoragePool value)

public ListStoragePoolsResponse.Builder addStoragePools(StoragePool value)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
valueStoragePool
Returns
TypeDescription
ListStoragePoolsResponse.Builder

addStoragePools(StoragePool.Builder builderForValue)

public ListStoragePoolsResponse.Builder addStoragePools(StoragePool.Builder builderForValue)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
builderForValueStoragePool.Builder
Returns
TypeDescription
ListStoragePoolsResponse.Builder

addStoragePools(int index, StoragePool value)

public ListStoragePoolsResponse.Builder addStoragePools(int index, StoragePool value)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameters
NameDescription
indexint
valueStoragePool
Returns
TypeDescription
ListStoragePoolsResponse.Builder

addStoragePools(int index, StoragePool.Builder builderForValue)

public ListStoragePoolsResponse.Builder addStoragePools(int index, StoragePool.Builder builderForValue)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameters
NameDescription
indexint
builderForValueStoragePool.Builder
Returns
TypeDescription
ListStoragePoolsResponse.Builder

addStoragePoolsBuilder()

public StoragePool.Builder addStoragePoolsBuilder()

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Returns
TypeDescription
StoragePool.Builder

addStoragePoolsBuilder(int index)

public StoragePool.Builder addStoragePoolsBuilder(int index)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoragePool.Builder

addUnreachable(String value)

public ListStoragePoolsResponse.Builder addUnreachable(String value)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
NameDescription
valueString

The unreachable to add.

Returns
TypeDescription
ListStoragePoolsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListStoragePoolsResponse build()
Returns
TypeDescription
ListStoragePoolsResponse

buildPartial()

public ListStoragePoolsResponse buildPartial()
Returns
TypeDescription
ListStoragePoolsResponse

clear()

public ListStoragePoolsResponse.Builder clear()
Returns
TypeDescription
ListStoragePoolsResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListStoragePoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListStoragePoolsResponse.Builder
Overrides

clearNextPageToken()

public ListStoragePoolsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
ListStoragePoolsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStoragePools()

public ListStoragePoolsResponse.Builder clearStoragePools()

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Returns
TypeDescription
ListStoragePoolsResponse.Builder

clearUnreachable()

public ListStoragePoolsResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
ListStoragePoolsResponse.Builder

This builder for chaining.

clone()

public ListStoragePoolsResponse.Builder clone()
Returns
TypeDescription
ListStoragePoolsResponse.Builder
Overrides

getDefaultInstanceForType()

public ListStoragePoolsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListStoragePoolsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNextPageToken()

public String getNextPageToken()

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

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getStoragePools(int index)

public StoragePool getStoragePools(int index)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoragePool

getStoragePoolsBuilder(int index)

public StoragePool.Builder getStoragePoolsBuilder(int index)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoragePool.Builder

getStoragePoolsBuilderList()

public List<StoragePool.Builder> getStoragePoolsBuilderList()

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Returns
TypeDescription
List<Builder>

getStoragePoolsCount()

public int getStoragePoolsCount()

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Returns
TypeDescription
int

getStoragePoolsList()

public List<StoragePool> getStoragePoolsList()

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Returns
TypeDescription
List<StoragePool>

getStoragePoolsOrBuilder(int index)

public StoragePoolOrBuilder getStoragePoolsOrBuilder(int index)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
StoragePoolOrBuilder

getStoragePoolsOrBuilderList()

public List<? extends StoragePoolOrBuilder> getStoragePoolsOrBuilderList()

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Returns
TypeDescription
List<? extends com.google.cloud.netapp.v1.StoragePoolOrBuilder>

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

public ListStoragePoolsResponse.Builder mergeFrom(ListStoragePoolsResponse other)
Parameter
NameDescription
otherListStoragePoolsResponse
Returns
TypeDescription
ListStoragePoolsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListStoragePoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListStoragePoolsResponse.Builder
Overrides

removeStoragePools(int index)

public ListStoragePoolsResponse.Builder removeStoragePools(int index)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListStoragePoolsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListStoragePoolsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListStoragePoolsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListStoragePoolsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
ListStoragePoolsResponse.Builder

This builder for chaining.

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

public ListStoragePoolsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListStoragePoolsResponse.Builder
Overrides

setStoragePools(int index, StoragePool value)

public ListStoragePoolsResponse.Builder setStoragePools(int index, StoragePool value)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameters
NameDescription
indexint
valueStoragePool
Returns
TypeDescription
ListStoragePoolsResponse.Builder

setStoragePools(int index, StoragePool.Builder builderForValue)

public ListStoragePoolsResponse.Builder setStoragePools(int index, StoragePool.Builder builderForValue)

The list of StoragePools

repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;

Parameters
NameDescription
indexint
builderForValueStoragePool.Builder
Returns
TypeDescription
ListStoragePoolsResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ListStoragePoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListStoragePoolsResponse.Builder
Overrides

setUnreachable(int index, String value)

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

This builder for chaining.