Class ListQuotaInfosResponse.Builder (0.8.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.api.cloudquotas.v1.QuotaInfo>
Returns
TypeDescription
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
NameDescription
valueQuotaInfo
Returns
TypeDescription
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
NameDescription
builderForValueQuotaInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueQuotaInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQuotaInfo.Builder
Returns
TypeDescription
ListQuotaInfosResponse.Builder

addQuotaInfosBuilder()

public QuotaInfo.Builder addQuotaInfosBuilder()

The list of QuotaInfo

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QuotaInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListQuotaInfosResponse build()
Returns
TypeDescription
ListQuotaInfosResponse

buildPartial()

public ListQuotaInfosResponse buildPartial()
Returns
TypeDescription
ListQuotaInfosResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListQuotaInfosResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListQuotaInfosResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearQuotaInfos()

public ListQuotaInfosResponse.Builder clearQuotaInfos()

The list of QuotaInfo

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

Returns
TypeDescription
ListQuotaInfosResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListQuotaInfosResponse getDefaultInstanceForType()
Returns
TypeDescription
ListQuotaInfosResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
QuotaInfo

getQuotaInfosBuilder(int index)

public QuotaInfo.Builder getQuotaInfosBuilder(int index)

The list of QuotaInfo

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QuotaInfo.Builder

getQuotaInfosBuilderList()

public List<QuotaInfo.Builder> getQuotaInfosBuilderList()

The list of QuotaInfo

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

Returns
TypeDescription
List<Builder>

getQuotaInfosCount()

public int getQuotaInfosCount()

The list of QuotaInfo

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

Returns
TypeDescription
int

getQuotaInfosList()

public List<QuotaInfo> getQuotaInfosList()

The list of QuotaInfo

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

Returns
TypeDescription
List<QuotaInfo>

getQuotaInfosOrBuilder(int index)

public QuotaInfoOrBuilder getQuotaInfosOrBuilder(int index)

The list of QuotaInfo

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

Parameter
NameDescription
indexint
Returns
TypeDescription
QuotaInfoOrBuilder

getQuotaInfosOrBuilderList()

public List<? extends QuotaInfoOrBuilder> getQuotaInfosOrBuilderList()

The list of QuotaInfo

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListQuotaInfosResponse other)

public ListQuotaInfosResponse.Builder mergeFrom(ListQuotaInfosResponse other)
Parameter
NameDescription
otherListQuotaInfosResponse
Returns
TypeDescription
ListQuotaInfosResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListQuotaInfosResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListQuotaInfosResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListQuotaInfosResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueQuotaInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueQuotaInfo.Builder
Returns
TypeDescription
ListQuotaInfosResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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