- 0.76.0 (latest)
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class ProvisioningQuota.Builder extends GeneratedMessageV3.Builder<ProvisioningQuota.Builder> implements ProvisioningQuotaOrBuilderA provisioning quota for a given project.
Protobuf type google.cloud.baremetalsolution.v2.ProvisioningQuota
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProvisioningQuota.BuilderImplements
ProvisioningQuotaOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProvisioningQuota.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
build()
public ProvisioningQuota build()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota |
|
buildPartial()
public ProvisioningQuota buildPartial()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota |
|
clear()
public ProvisioningQuota.Builder clear()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
clearAssetType()
public ProvisioningQuota.Builder clearAssetType()The asset type of this provisioning quota.
.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clearAvailability()
public ProvisioningQuota.Builder clearAvailability()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
clearAvailableCount()
public ProvisioningQuota.Builder clearAvailableCount()The available count of the provisioning quota.
int32 available_count = 5;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ProvisioningQuota.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
clearGcpService()
public ProvisioningQuota.Builder clearGcpService()The gcp service of the provisioning quota.
string gcp_service = 3;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clearInstanceQuota()
public ProvisioningQuota.Builder clearInstanceQuota()Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
clearLocation()
public ProvisioningQuota.Builder clearLocation()The specific location of the provisioining quota.
string location = 4;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clearName()
public ProvisioningQuota.Builder clearName()Output only. The name of the provisioning quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clearNetworkBandwidth()
public ProvisioningQuota.Builder clearNetworkBandwidth()Network bandwidth, Gbps
int64 network_bandwidth = 8;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProvisioningQuota.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
clearQuota()
public ProvisioningQuota.Builder clearQuota()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
clearServerCount()
public ProvisioningQuota.Builder clearServerCount()Server count.
int64 server_count = 7;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clearStorageGib()
public ProvisioningQuota.Builder clearStorageGib()Storage size (GB).
int64 storage_gib = 9;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
clone()
public ProvisioningQuota.Builder clone()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
getAssetType()
public ProvisioningQuota.AssetType getAssetType()The asset type of this provisioning quota.
.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.AssetType |
The assetType. |
getAssetTypeValue()
public int getAssetTypeValue()The asset type of this provisioning quota.
.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for assetType. |
getAvailabilityCase()
public ProvisioningQuota.AvailabilityCase getAvailabilityCase()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.AvailabilityCase |
|
getAvailableCount()
public int getAvailableCount()The available count of the provisioning quota.
int32 available_count = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The availableCount. |
getDefaultInstanceForType()
public ProvisioningQuota getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcpService()
public String getGcpService()The gcp service of the provisioning quota.
string gcp_service = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The gcpService. |
getGcpServiceBytes()
public ByteString getGcpServiceBytes()The gcp service of the provisioning quota.
string gcp_service = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcpService. |
getInstanceQuota()
public InstanceQuota getInstanceQuota()Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Returns | |
|---|---|
| Type | Description |
InstanceQuota |
The instanceQuota. |
getInstanceQuotaBuilder()
public InstanceQuota.Builder getInstanceQuotaBuilder()Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Returns | |
|---|---|
| Type | Description |
InstanceQuota.Builder |
|
getInstanceQuotaOrBuilder()
public InstanceQuotaOrBuilder getInstanceQuotaOrBuilder()Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Returns | |
|---|---|
| Type | Description |
InstanceQuotaOrBuilder |
|
getLocation()
public String getLocation()The specific location of the provisioining quota.
string location = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()The specific location of the provisioining quota.
string location = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getName()
public String getName()Output only. The name of the provisioning quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The name of the provisioning quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getNetworkBandwidth()
public long getNetworkBandwidth()Network bandwidth, Gbps
int64 network_bandwidth = 8;
| Returns | |
|---|---|
| Type | Description |
long |
The networkBandwidth. |
getQuotaCase()
public ProvisioningQuota.QuotaCase getQuotaCase()| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.QuotaCase |
|
getServerCount()
public long getServerCount()Server count.
int64 server_count = 7;
| Returns | |
|---|---|
| Type | Description |
long |
The serverCount. |
getStorageGib()
public long getStorageGib()Storage size (GB).
int64 storage_gib = 9;
| Returns | |
|---|---|
| Type | Description |
long |
The storageGib. |
hasInstanceQuota()
public boolean hasInstanceQuota()Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the instanceQuota field is set. |
hasNetworkBandwidth()
public boolean hasNetworkBandwidth()Network bandwidth, Gbps
int64 network_bandwidth = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the networkBandwidth field is set. |
hasServerCount()
public boolean hasServerCount()Server count.
int64 server_count = 7;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the serverCount field is set. |
hasStorageGib()
public boolean hasStorageGib()Storage size (GB).
int64 storage_gib = 9;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the storageGib field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ProvisioningQuota other)
public ProvisioningQuota.Builder mergeFrom(ProvisioningQuota other)| Parameter | |
|---|---|
| Name | Description |
other |
ProvisioningQuota |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProvisioningQuota.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ProvisioningQuota.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
mergeInstanceQuota(InstanceQuota value)
public ProvisioningQuota.Builder mergeInstanceQuota(InstanceQuota value)Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
InstanceQuota |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProvisioningQuota.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
setAssetType(ProvisioningQuota.AssetType value)
public ProvisioningQuota.Builder setAssetType(ProvisioningQuota.AssetType value)The asset type of this provisioning quota.
.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ProvisioningQuota.AssetTypeThe assetType to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setAssetTypeValue(int value)
public ProvisioningQuota.Builder setAssetTypeValue(int value)The asset type of this provisioning quota.
.google.cloud.baremetalsolution.v2.ProvisioningQuota.AssetType asset_type = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for assetType to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setAvailableCount(int value)
public ProvisioningQuota.Builder setAvailableCount(int value)The available count of the provisioning quota.
int32 available_count = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe availableCount to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ProvisioningQuota.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
setGcpService(String value)
public ProvisioningQuota.Builder setGcpService(String value)The gcp service of the provisioning quota.
string gcp_service = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcpService to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setGcpServiceBytes(ByteString value)
public ProvisioningQuota.Builder setGcpServiceBytes(ByteString value)The gcp service of the provisioning quota.
string gcp_service = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcpService to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setInstanceQuota(InstanceQuota value)
public ProvisioningQuota.Builder setInstanceQuota(InstanceQuota value)Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
InstanceQuota |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
setInstanceQuota(InstanceQuota.Builder builderForValue)
public ProvisioningQuota.Builder setInstanceQuota(InstanceQuota.Builder builderForValue)Instance quota.
.google.cloud.baremetalsolution.v2.InstanceQuota instance_quota = 6;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InstanceQuota.Builder |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
setLocation(String value)
public ProvisioningQuota.Builder setLocation(String value)The specific location of the provisioining quota.
string location = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public ProvisioningQuota.Builder setLocationBytes(ByteString value)The specific location of the provisioining quota.
string location = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setName(String value)
public ProvisioningQuota.Builder setName(String value)Output only. The name of the provisioning quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ProvisioningQuota.Builder setNameBytes(ByteString value)Output only. The name of the provisioning quota.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setNetworkBandwidth(long value)
public ProvisioningQuota.Builder setNetworkBandwidth(long value)Network bandwidth, Gbps
int64 network_bandwidth = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe networkBandwidth to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProvisioningQuota.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|
setServerCount(long value)
public ProvisioningQuota.Builder setServerCount(long value)Server count.
int64 server_count = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe serverCount to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setStorageGib(long value)
public ProvisioningQuota.Builder setStorageGib(long value)Storage size (GB).
int64 storage_gib = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe storageGib to set. |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProvisioningQuota.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ProvisioningQuota.Builder |
|