Class Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder (0.1.0)

public static final class Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder extends GeneratedMessage.Builder<Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder> implements Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRangeOrBuilder

The range of pod resource values that the SKU applies to.

Protobuf type google.cloud.commerceproducer.v1beta.Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder

Static Methods

getDescriptor()

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

Methods

build()

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange build()
Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange

buildPartial()

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange buildPartial()
Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange

clear()

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder clear()
Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder
Overrides

clearEndValue()

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.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.KubernetesEnginePodUsageFee.PodResourceRange.Builder

This builder for chaining.

clearStartValue()

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder clearStartValue()

Output only. The inclusive lower bound of the range.

int64 start_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder

This builder for chaining.

getDefaultInstanceForType()

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange getDefaultInstanceForType()
Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange

getDescriptorForType()

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

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.

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange other)

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder mergeFrom(Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange other)
Parameter
Name Description
other Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange
Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder
Overrides

setEndValue(long value)

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.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 long

The endValue to set.

Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder

This builder for chaining.

setStartValue(long value)

public Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder setStartValue(long value)

Output only. The inclusive lower bound of the range.

int64 start_value = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value long

The startValue to set.

Returns
Type Description
Sku.SkuPrice.KubernetesEnginePodUsageFee.PodResourceRange.Builder

This builder for chaining.