public static final class CapacityHistoryResponsePriceRecord.Builder extends GeneratedMessage.Builder<CapacityHistoryResponsePriceRecord.Builder> implements CapacityHistoryResponsePriceRecordOrBuilderA record of price history.
Protobuf type google.cloud.compute.v1.CapacityHistoryResponsePriceRecord
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CapacityHistoryResponsePriceRecord.BuilderImplements
CapacityHistoryResponsePriceRecordOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CapacityHistoryResponsePriceRecord build()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
buildPartial()
public CapacityHistoryResponsePriceRecord buildPartial()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
clear()
public CapacityHistoryResponsePriceRecord.Builder clear()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
clearInterval()
public CapacityHistoryResponsePriceRecord.Builder clearInterval()The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
clearListPrice()
public CapacityHistoryResponsePriceRecord.Builder clearListPrice()The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
getDefaultInstanceForType()
public CapacityHistoryResponsePriceRecord getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getInterval()
public Interval getInterval()The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Returns | |
|---|---|
| Type | Description |
Interval |
The interval. |
getIntervalBuilder()
public Interval.Builder getIntervalBuilder()The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Returns | |
|---|---|
| Type | Description |
Interval.Builder |
|
getIntervalOrBuilder()
public IntervalOrBuilder getIntervalOrBuilder()The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Returns | |
|---|---|
| Type | Description |
IntervalOrBuilder |
|
getListPrice()
public Money getListPrice()The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Returns | |
|---|---|
| Type | Description |
Money |
The listPrice. |
getListPriceBuilder()
public Money.Builder getListPriceBuilder()The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Returns | |
|---|---|
| Type | Description |
Money.Builder |
|
getListPriceOrBuilder()
public MoneyOrBuilder getListPriceOrBuilder()The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Returns | |
|---|---|
| Type | Description |
MoneyOrBuilder |
|
hasInterval()
public boolean hasInterval()The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the interval field is set. |
hasListPrice()
public boolean hasListPrice()The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the listPrice field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CapacityHistoryResponsePriceRecord other)
public CapacityHistoryResponsePriceRecord.Builder mergeFrom(CapacityHistoryResponsePriceRecord other)| Parameter | |
|---|---|
| Name | Description |
other |
CapacityHistoryResponsePriceRecord |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CapacityHistoryResponsePriceRecord.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CapacityHistoryResponsePriceRecord.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
mergeInterval(Interval value)
public CapacityHistoryResponsePriceRecord.Builder mergeInterval(Interval value)The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Parameter | |
|---|---|
| Name | Description |
value |
Interval |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
mergeListPrice(Money value)
public CapacityHistoryResponsePriceRecord.Builder mergeListPrice(Money value)The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Parameter | |
|---|---|
| Name | Description |
value |
Money |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
setInterval(Interval value)
public CapacityHistoryResponsePriceRecord.Builder setInterval(Interval value)The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Parameter | |
|---|---|
| Name | Description |
value |
Interval |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
setInterval(Interval.Builder builderForValue)
public CapacityHistoryResponsePriceRecord.Builder setInterval(Interval.Builder builderForValue)The time interval for this price record.
optional .google.cloud.compute.v1.Interval interval = 33547461;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Interval.Builder |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
setListPrice(Money value)
public CapacityHistoryResponsePriceRecord.Builder setListPrice(Money value)The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Parameter | |
|---|---|
| Name | Description |
value |
Money |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
setListPrice(Money.Builder builderForValue)
public CapacityHistoryResponsePriceRecord.Builder setListPrice(Money.Builder builderForValue)The Spot VM list price during the interval.
optional .google.cloud.compute.v1.Money list_price = 167990888;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Money.Builder |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|