Class ListProvisioningQuotasResponse.Builder (0.42.0)

public static final class ListProvisioningQuotasResponse.Builder extends GeneratedMessageV3.Builder<ListProvisioningQuotasResponse.Builder> implements ListProvisioningQuotasResponseOrBuilder

Response message for the list of provisioning quotas.

Protobuf type google.cloud.baremetalsolution.v2.ListProvisioningQuotasResponse

Static Methods

getDescriptor()

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

Methods

addAllProvisioningQuotas(Iterable<? extends ProvisioningQuota> values)

public ListProvisioningQuotasResponse.Builder addAllProvisioningQuotas(Iterable<? extends ProvisioningQuota> values)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.baremetalsolution.v2.ProvisioningQuota>
Returns
Type Description
ListProvisioningQuotasResponse.Builder

addProvisioningQuotas(ProvisioningQuota value)

public ListProvisioningQuotasResponse.Builder addProvisioningQuotas(ProvisioningQuota value)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
value ProvisioningQuota
Returns
Type Description
ListProvisioningQuotasResponse.Builder

addProvisioningQuotas(ProvisioningQuota.Builder builderForValue)

public ListProvisioningQuotasResponse.Builder addProvisioningQuotas(ProvisioningQuota.Builder builderForValue)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
builderForValue ProvisioningQuota.Builder
Returns
Type Description
ListProvisioningQuotasResponse.Builder

addProvisioningQuotas(int index, ProvisioningQuota value)

public ListProvisioningQuotasResponse.Builder addProvisioningQuotas(int index, ProvisioningQuota value)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameters
Name Description
index int
value ProvisioningQuota
Returns
Type Description
ListProvisioningQuotasResponse.Builder

addProvisioningQuotas(int index, ProvisioningQuota.Builder builderForValue)

public ListProvisioningQuotasResponse.Builder addProvisioningQuotas(int index, ProvisioningQuota.Builder builderForValue)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameters
Name Description
index int
builderForValue ProvisioningQuota.Builder
Returns
Type Description
ListProvisioningQuotasResponse.Builder

addProvisioningQuotasBuilder()

public ProvisioningQuota.Builder addProvisioningQuotasBuilder()

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Returns
Type Description
ProvisioningQuota.Builder

addProvisioningQuotasBuilder(int index)

public ProvisioningQuota.Builder addProvisioningQuotasBuilder(int index)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
index int
Returns
Type Description
ProvisioningQuota.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProvisioningQuotasResponse build()
Returns
Type Description
ListProvisioningQuotasResponse

buildPartial()

public ListProvisioningQuotasResponse buildPartial()
Returns
Type Description
ListProvisioningQuotasResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListProvisioningQuotasResponse.Builder clearNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ListProvisioningQuotasResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProvisioningQuotas()

public ListProvisioningQuotasResponse.Builder clearProvisioningQuotas()

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Returns
Type Description
ListProvisioningQuotasResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProvisioningQuotasResponse getDefaultInstanceForType()
Returns
Type Description
ListProvisioningQuotasResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getProvisioningQuotas(int index)

public ProvisioningQuota getProvisioningQuotas(int index)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
index int
Returns
Type Description
ProvisioningQuota

getProvisioningQuotasBuilder(int index)

public ProvisioningQuota.Builder getProvisioningQuotasBuilder(int index)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
index int
Returns
Type Description
ProvisioningQuota.Builder

getProvisioningQuotasBuilderList()

public List<ProvisioningQuota.Builder> getProvisioningQuotasBuilderList()

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Returns
Type Description
List<Builder>

getProvisioningQuotasCount()

public int getProvisioningQuotasCount()

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Returns
Type Description
int

getProvisioningQuotasList()

public List<ProvisioningQuota> getProvisioningQuotasList()

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Returns
Type Description
List<ProvisioningQuota>

getProvisioningQuotasOrBuilder(int index)

public ProvisioningQuotaOrBuilder getProvisioningQuotasOrBuilder(int index)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
index int
Returns
Type Description
ProvisioningQuotaOrBuilder

getProvisioningQuotasOrBuilderList()

public List<? extends ProvisioningQuotaOrBuilder> getProvisioningQuotasOrBuilderList()

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Returns
Type Description
List<? extends com.google.cloud.baremetalsolution.v2.ProvisioningQuotaOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListProvisioningQuotasResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeProvisioningQuotas(int index)

public ListProvisioningQuotasResponse.Builder removeProvisioningQuotas(int index)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameter
Name Description
index int
Returns
Type Description
ListProvisioningQuotasResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListProvisioningQuotasResponse.Builder setNextPageToken(String value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListProvisioningQuotasResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListProvisioningQuotasResponse.Builder setNextPageTokenBytes(ByteString value)

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListProvisioningQuotasResponse.Builder

This builder for chaining.

setProvisioningQuotas(int index, ProvisioningQuota value)

public ListProvisioningQuotasResponse.Builder setProvisioningQuotas(int index, ProvisioningQuota value)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameters
Name Description
index int
value ProvisioningQuota
Returns
Type Description
ListProvisioningQuotasResponse.Builder

setProvisioningQuotas(int index, ProvisioningQuota.Builder builderForValue)

public ListProvisioningQuotasResponse.Builder setProvisioningQuotas(int index, ProvisioningQuota.Builder builderForValue)

The provisioning quotas registered in this project.

repeated .google.cloud.baremetalsolution.v2.ProvisioningQuota provisioning_quotas = 1;

Parameters
Name Description
index int
builderForValue ProvisioningQuota.Builder
Returns
Type Description
ListProvisioningQuotasResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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