public final class CapacityHistoryResponsePriceRecord extends GeneratedMessage implements CapacityHistoryResponsePriceRecordOrBuilderA record of price history.
Protobuf type google.cloud.compute.v1.CapacityHistoryResponsePriceRecord
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > CapacityHistoryResponsePriceRecordImplements
CapacityHistoryResponsePriceRecordOrBuilderStatic Fields
INTERVAL_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LIST_PRICE_FIELD_NUMBER
public static final int LIST_PRICE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static CapacityHistoryResponsePriceRecord getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static CapacityHistoryResponsePriceRecord.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
newBuilder(CapacityHistoryResponsePriceRecord prototype)
public static CapacityHistoryResponsePriceRecord.Builder newBuilder(CapacityHistoryResponsePriceRecord prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
CapacityHistoryResponsePriceRecord |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
parseDelimitedFrom(InputStream input)
public static CapacityHistoryResponsePriceRecord parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CapacityHistoryResponsePriceRecord parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static CapacityHistoryResponsePriceRecord parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CapacityHistoryResponsePriceRecord parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static CapacityHistoryResponsePriceRecord parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CapacityHistoryResponsePriceRecord parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static CapacityHistoryResponsePriceRecord parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CapacityHistoryResponsePriceRecord parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static CapacityHistoryResponsePriceRecord parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CapacityHistoryResponsePriceRecord parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static CapacityHistoryResponsePriceRecord parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CapacityHistoryResponsePriceRecord parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<CapacityHistoryResponsePriceRecord> parser()| Returns | |
|---|---|
| Type | Description |
Parser<CapacityHistoryResponsePriceRecord> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public CapacityHistoryResponsePriceRecord getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord |
|
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. |
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. |
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 |
|
getParserForType()
public Parser<CapacityHistoryResponsePriceRecord> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<CapacityHistoryResponsePriceRecord> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public CapacityHistoryResponsePriceRecord.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected CapacityHistoryResponsePriceRecord.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
toBuilder()
public CapacityHistoryResponsePriceRecord.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
CapacityHistoryResponsePriceRecord.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|