public static final class Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder extends GeneratedMessage.Builder<Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder> implements Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRangeOrBuilderThe range of machine resource values that the SKU applies to.
Protobuf type
google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange build()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange |
|
buildPartial()
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange buildPartial()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange |
|
clear()
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
|
clearEndValue()
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder clearEndValue()Output only. The exclusive upper bound of the range. If no end value is specified, the range is unbounded from above.
optional int64 end_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
This builder for chaining. |
clearStartValue()
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder clearStartValue()Output only. The inclusive lower bound of the range. While the number zero may be the start of a range, it is not a possible machine resource value. An instance cannot exist with zero vCPU or memory, and an instance with no attached accelerators lacks a GPU dimension entirely rather than having a GPU count of zero.
int64 start_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEndValue()
public long getEndValue()Output only. The exclusive upper bound of the range. If no end value is specified, the range is unbounded from above.
optional int64 end_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The endValue. |
getStartValue()
public long getStartValue()Output only. The inclusive lower bound of the range. While the number zero may be the start of a range, it is not a possible machine resource value. An instance cannot exist with zero vCPU or memory, and an instance with no attached accelerators lacks a GPU dimension entirely rather than having a GPU count of zero.
int64 start_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The startValue. |
hasEndValue()
public boolean hasEndValue()Output only. The exclusive upper bound of the range. If no end value is specified, the range is unbounded from above.
optional int64 end_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the endValue field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange other)
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder mergeFrom(Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange other)| Parameter | |
|---|---|
| Name | Description |
other |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
|
setEndValue(long value)
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder setEndValue(long value)Output only. The exclusive upper bound of the range. If no end value is specified, the range is unbounded from above.
optional int64 end_value = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe endValue to set. |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
This builder for chaining. |
setStartValue(long value)
public Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder setStartValue(long value)Output only. The inclusive lower bound of the range. While the number zero may be the start of a range, it is not a possible machine resource value. An instance cannot exist with zero vCPU or memory, and an instance with no attached accelerators lacks a GPU dimension entirely rather than having a GPU count of zero.
int64 start_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe startValue to set. |
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ComputeEngineLicenseUsageFee.MachineResourceRange.Builder |
This builder for chaining. |