Class ListProvisioningQuotasResponse.Builder (0.34.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.baremetalsolution.v2.ProvisioningQuota>
Returns
TypeDescription
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
NameDescription
valueProvisioningQuota
Returns
TypeDescription
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
NameDescription
builderForValueProvisioningQuota.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueProvisioningQuota
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProvisioningQuota.Builder
Returns
TypeDescription
ListProvisioningQuotasResponse.Builder

addProvisioningQuotasBuilder()

public ProvisioningQuota.Builder addProvisioningQuotasBuilder()

The provisioning quotas registered in this project.

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListProvisioningQuotasResponse build()
Returns
TypeDescription
ListProvisioningQuotasResponse

buildPartial()

public ListProvisioningQuotasResponse buildPartial()
Returns
TypeDescription
ListProvisioningQuotasResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListProvisioningQuotasResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListProvisioningQuotasResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListProvisioningQuotasResponse getDefaultInstanceForType()
Returns
TypeDescription
ListProvisioningQuotasResponse

getDescriptorForType()

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

getProvisioningQuotasCount()

public int getProvisioningQuotasCount()

The provisioning quotas registered in this project.

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

Returns
TypeDescription
int

getProvisioningQuotasList()

public List<ProvisioningQuota> getProvisioningQuotasList()

The provisioning quotas registered in this project.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ProvisioningQuotaOrBuilder

getProvisioningQuotasOrBuilderList()

public List<? extends ProvisioningQuotaOrBuilder> getProvisioningQuotasOrBuilderList()

The provisioning quotas registered in this project.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListProvisioningQuotasResponse other)

public ListProvisioningQuotasResponse.Builder mergeFrom(ListProvisioningQuotasResponse other)
Parameter
NameDescription
otherListProvisioningQuotasResponse
Returns
TypeDescription
ListProvisioningQuotasResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valueProvisioningQuota
Returns
TypeDescription
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
NameDescription
indexint
builderForValueProvisioningQuota.Builder
Returns
TypeDescription
ListProvisioningQuotasResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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