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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ListStoragePoolsResponse.BuilderImplements
ListStoragePoolsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.netapp.v1.StoragePool> |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
addAllUnreachable(Iterable<String> values)
public ListStoragePoolsResponse.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 |
ListStoragePoolsResponse.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListStoragePoolsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
addStoragePools(StoragePool value)
public ListStoragePoolsResponse.Builder addStoragePools(StoragePool value)
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Parameter | |
---|---|
Name | Description |
value | StoragePool |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | StoragePool.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | StoragePool |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | StoragePool.Builder |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
addStoragePoolsBuilder()
public StoragePool.Builder addStoragePoolsBuilder()
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
addUnreachable(String value)
public ListStoragePoolsResponse.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 |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the unreachable to add. |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder | This builder for chaining. |
build()
public ListStoragePoolsResponse build()
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse |
buildPartial()
public ListStoragePoolsResponse buildPartial()
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse |
clear()
public ListStoragePoolsResponse.Builder clear()
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public ListStoragePoolsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
clearNextPageToken()
public ListStoragePoolsResponse.Builder clearNextPageToken()
A token identifying a page of results the server should return.
string next_page_token = 2;
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ListStoragePoolsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
clearStoragePools()
public ListStoragePoolsResponse.Builder clearStoragePools()
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
clearUnreachable()
public ListStoragePoolsResponse.Builder clearUnreachable()
Locations that could not be reached.
repeated string unreachable = 3;
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder | This builder for chaining. |
clone()
public ListStoragePoolsResponse.Builder clone()
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
getDefaultInstanceForType()
public ListStoragePoolsResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getStoragePools(int index)
public StoragePool getStoragePools(int index)
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StoragePool |
getStoragePoolsBuilder(int index)
public StoragePool.Builder getStoragePoolsBuilder(int index)
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StoragePool.Builder |
getStoragePoolsBuilderList()
public List<StoragePool.Builder> getStoragePoolsBuilderList()
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Returns | |
---|---|
Type | Description |
List<Builder> |
getStoragePoolsCount()
public int getStoragePoolsCount()
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Returns | |
---|---|
Type | Description |
int |
getStoragePoolsList()
public List<StoragePool> getStoragePoolsList()
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Returns | |
---|---|
Type | Description |
List<StoragePool> |
getStoragePoolsOrBuilder(int index)
public StoragePoolOrBuilder getStoragePoolsOrBuilder(int index)
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StoragePoolOrBuilder |
getStoragePoolsOrBuilderList()
public List<? extends StoragePoolOrBuilder> getStoragePoolsOrBuilderList()
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ListStoragePoolsResponse other)
public ListStoragePoolsResponse.Builder mergeFrom(ListStoragePoolsResponse other)
Parameter | |
---|---|
Name | Description |
other | ListStoragePoolsResponse |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListStoragePoolsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ListStoragePoolsResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListStoragePoolsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
removeStoragePools(int index)
public ListStoragePoolsResponse.Builder removeStoragePools(int index)
The list of StoragePools
repeated .google.cloud.netapp.v1.StoragePool storage_pools = 1;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ListStoragePoolsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
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 | |
---|---|
Name | Description |
value | String The nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for nextPageToken to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
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 | |
---|---|
Name | Description |
index | int |
value | StoragePool |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | StoragePool.Builder |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ListStoragePoolsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ListStoragePoolsResponse.Builder |
setUnreachable(int index, String value)
public ListStoragePoolsResponse.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 |
ListStoragePoolsResponse.Builder | This builder for chaining. |