Class ListQuotaRulesResponse.Builder (0.62.0)

public static final class ListQuotaRulesResponse.Builder extends GeneratedMessage.Builder<ListQuotaRulesResponse.Builder> implements ListQuotaRulesResponseOrBuilder

ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.

Protobuf type google.cloud.netapp.v1.ListQuotaRulesResponse

Static Methods

getDescriptor()

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

Methods

addAllQuotaRules(Iterable<? extends QuotaRule> values)

public ListQuotaRulesResponse.Builder addAllQuotaRules(Iterable<? extends QuotaRule> values)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

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

addAllUnreachable(Iterable<String> values)

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

This builder for chaining.

addQuotaRules(QuotaRule value)

public ListQuotaRulesResponse.Builder addQuotaRules(QuotaRule value)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameter
Name Description
value QuotaRule
Returns
Type Description
ListQuotaRulesResponse.Builder

addQuotaRules(QuotaRule.Builder builderForValue)

public ListQuotaRulesResponse.Builder addQuotaRules(QuotaRule.Builder builderForValue)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameter
Name Description
builderForValue QuotaRule.Builder
Returns
Type Description
ListQuotaRulesResponse.Builder

addQuotaRules(int index, QuotaRule value)

public ListQuotaRulesResponse.Builder addQuotaRules(int index, QuotaRule value)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameters
Name Description
index int
value QuotaRule
Returns
Type Description
ListQuotaRulesResponse.Builder

addQuotaRules(int index, QuotaRule.Builder builderForValue)

public ListQuotaRulesResponse.Builder addQuotaRules(int index, QuotaRule.Builder builderForValue)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameters
Name Description
index int
builderForValue QuotaRule.Builder
Returns
Type Description
ListQuotaRulesResponse.Builder

addQuotaRulesBuilder()

public QuotaRule.Builder addQuotaRulesBuilder()

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Returns
Type Description
QuotaRule.Builder

addQuotaRulesBuilder(int index)

public QuotaRule.Builder addQuotaRulesBuilder(int index)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaRule.Builder

addUnreachable(String value)

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

This builder for chaining.

addUnreachableBytes(ByteString value)

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

This builder for chaining.

build()

public ListQuotaRulesResponse build()
Returns
Type Description
ListQuotaRulesResponse

buildPartial()

public ListQuotaRulesResponse buildPartial()
Returns
Type Description
ListQuotaRulesResponse

clear()

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

clearNextPageToken()

public ListQuotaRulesResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListQuotaRulesResponse.Builder

This builder for chaining.

clearQuotaRules()

public ListQuotaRulesResponse.Builder clearQuotaRules()

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Returns
Type Description
ListQuotaRulesResponse.Builder

clearUnreachable()

public ListQuotaRulesResponse.Builder clearUnreachable()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
ListQuotaRulesResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListQuotaRulesResponse getDefaultInstanceForType()
Returns
Type Description
ListQuotaRulesResponse

getDescriptorForType()

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

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.

getQuotaRules(int index)

public QuotaRule getQuotaRules(int index)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaRule

getQuotaRulesBuilder(int index)

public QuotaRule.Builder getQuotaRulesBuilder(int index)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaRule.Builder

getQuotaRulesBuilderList()

public List<QuotaRule.Builder> getQuotaRulesBuilderList()

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Returns
Type Description
List<Builder>

getQuotaRulesCount()

public int getQuotaRulesCount()

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Returns
Type Description
int

getQuotaRulesList()

public List<QuotaRule> getQuotaRulesList()

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Returns
Type Description
List<QuotaRule>

getQuotaRulesOrBuilder(int index)

public QuotaRuleOrBuilder getQuotaRulesOrBuilder(int index)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaRuleOrBuilder

getQuotaRulesOrBuilderList()

public List<? extends QuotaRuleOrBuilder> getQuotaRulesOrBuilderList()

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

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

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListQuotaRulesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeQuotaRules(int index)

public ListQuotaRulesResponse.Builder removeQuotaRules(int index)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameter
Name Description
index int
Returns
Type Description
ListQuotaRulesResponse.Builder

setNextPageToken(String value)

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

This builder for chaining.

setNextPageTokenBytes(ByteString value)

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

This builder for chaining.

setQuotaRules(int index, QuotaRule value)

public ListQuotaRulesResponse.Builder setQuotaRules(int index, QuotaRule value)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameters
Name Description
index int
value QuotaRule
Returns
Type Description
ListQuotaRulesResponse.Builder

setQuotaRules(int index, QuotaRule.Builder builderForValue)

public ListQuotaRulesResponse.Builder setQuotaRules(int index, QuotaRule.Builder builderForValue)

List of quota rules

repeated .google.cloud.netapp.v1.QuotaRule quota_rules = 1;

Parameters
Name Description
index int
builderForValue QuotaRule.Builder
Returns
Type Description
ListQuotaRulesResponse.Builder

setUnreachable(int index, String value)

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

This builder for chaining.