Class ListQuotaInfosResponse.Builder (0.12.0)

public static final class ListQuotaInfosResponse.Builder extends GeneratedMessageV3.Builder<ListQuotaInfosResponse.Builder> implements ListQuotaInfosResponseOrBuilder

Message for response to listing QuotaInfos

Protobuf type google.api.cloudquotas.v1.ListQuotaInfosResponse

Static Methods

getDescriptor()

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

Methods

addAllQuotaInfos(Iterable<? extends QuotaInfo> values)

public ListQuotaInfosResponse.Builder addAllQuotaInfos(Iterable<? extends QuotaInfo> values)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
values Iterable<? extends com.google.api.cloudquotas.v1.QuotaInfo>
Returns
Type Description
ListQuotaInfosResponse.Builder

addQuotaInfos(QuotaInfo value)

public ListQuotaInfosResponse.Builder addQuotaInfos(QuotaInfo value)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
value QuotaInfo
Returns
Type Description
ListQuotaInfosResponse.Builder

addQuotaInfos(QuotaInfo.Builder builderForValue)

public ListQuotaInfosResponse.Builder addQuotaInfos(QuotaInfo.Builder builderForValue)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
builderForValue QuotaInfo.Builder
Returns
Type Description
ListQuotaInfosResponse.Builder

addQuotaInfos(int index, QuotaInfo value)

public ListQuotaInfosResponse.Builder addQuotaInfos(int index, QuotaInfo value)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameters
Name Description
index int
value QuotaInfo
Returns
Type Description
ListQuotaInfosResponse.Builder

addQuotaInfos(int index, QuotaInfo.Builder builderForValue)

public ListQuotaInfosResponse.Builder addQuotaInfos(int index, QuotaInfo.Builder builderForValue)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameters
Name Description
index int
builderForValue QuotaInfo.Builder
Returns
Type Description
ListQuotaInfosResponse.Builder

addQuotaInfosBuilder()

public QuotaInfo.Builder addQuotaInfosBuilder()

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Returns
Type Description
QuotaInfo.Builder

addQuotaInfosBuilder(int index)

public QuotaInfo.Builder addQuotaInfosBuilder(int index)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListQuotaInfosResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides

build()

public ListQuotaInfosResponse build()
Returns
Type Description
ListQuotaInfosResponse

buildPartial()

public ListQuotaInfosResponse buildPartial()
Returns
Type Description
ListQuotaInfosResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListQuotaInfosResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides

clearNextPageToken()

public ListQuotaInfosResponse.Builder clearNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ListQuotaInfosResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListQuotaInfosResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides

clearQuotaInfos()

public ListQuotaInfosResponse.Builder clearQuotaInfos()

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Returns
Type Description
ListQuotaInfosResponse.Builder

clone()

public ListQuotaInfosResponse.Builder clone()
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides

getDefaultInstanceForType()

public ListQuotaInfosResponse getDefaultInstanceForType()
Returns
Type Description
ListQuotaInfosResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getQuotaInfos(int index)

public QuotaInfo getQuotaInfos(int index)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaInfo

getQuotaInfosBuilder(int index)

public QuotaInfo.Builder getQuotaInfosBuilder(int index)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaInfo.Builder

getQuotaInfosBuilderList()

public List<QuotaInfo.Builder> getQuotaInfosBuilderList()

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Returns
Type Description
List<Builder>

getQuotaInfosCount()

public int getQuotaInfosCount()

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Returns
Type Description
int

getQuotaInfosList()

public List<QuotaInfo> getQuotaInfosList()

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Returns
Type Description
List<QuotaInfo>

getQuotaInfosOrBuilder(int index)

public QuotaInfoOrBuilder getQuotaInfosOrBuilder(int index)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
index int
Returns
Type Description
QuotaInfoOrBuilder

getQuotaInfosOrBuilderList()

public List<? extends QuotaInfoOrBuilder> getQuotaInfosOrBuilderList()

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Returns
Type Description
List<? extends com.google.api.cloudquotas.v1.QuotaInfoOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListQuotaInfosResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListQuotaInfosResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides

removeQuotaInfos(int index)

public ListQuotaInfosResponse.Builder removeQuotaInfos(int index)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameter
Name Description
index int
Returns
Type Description
ListQuotaInfosResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListQuotaInfosResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides

setNextPageToken(String value)

public ListQuotaInfosResponse.Builder setNextPageToken(String value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListQuotaInfosResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListQuotaInfosResponse.Builder setNextPageTokenBytes(ByteString value)

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListQuotaInfosResponse.Builder

This builder for chaining.

setQuotaInfos(int index, QuotaInfo value)

public ListQuotaInfosResponse.Builder setQuotaInfos(int index, QuotaInfo value)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameters
Name Description
index int
value QuotaInfo
Returns
Type Description
ListQuotaInfosResponse.Builder

setQuotaInfos(int index, QuotaInfo.Builder builderForValue)

public ListQuotaInfosResponse.Builder setQuotaInfos(int index, QuotaInfo.Builder builderForValue)

The list of QuotaInfo

repeated .google.api.cloudquotas.v1.QuotaInfo quota_infos = 1;

Parameters
Name Description
index int
builderForValue QuotaInfo.Builder
Returns
Type Description
ListQuotaInfosResponse.Builder

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

public ListQuotaInfosResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListQuotaInfosResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListQuotaInfosResponse.Builder
Overrides