public interface TimeSeriesOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCloudResourceType()
public abstract String getCloudResourceType()The resource for the time series values to return. Possible values include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk", "gce-gpu", "gce-tpu" and "gce-vm".
string cloud_resource_type = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The cloudResourceType. |
getCloudResourceTypeBytes()
public abstract ByteString getCloudResourceTypeBytes()The resource for the time series values to return. Possible values include "gce-vcpus", "gce-ram", "gce-local-ssd", "gce-persistent-disk", "gce-gpu", "gce-tpu" and "gce-vm".
string cloud_resource_type = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cloudResourceType. |
getConfidentialMode()
public abstract boolean getConfidentialMode()Optional. The confidential mode for disk.
bool confidential_mode = 12 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The confidentialMode. |
getDiskType()
public abstract String getDiskType()The disk type for the time series values to return.
string disk_type = 6;
| Returns | |
|---|---|
| Type | Description |
String |
The diskType. |
getDiskTypeBytes()
public abstract ByteString getDiskTypeBytes()The disk type for the time series values to return.
string disk_type = 6;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for diskType. |
getGpuType()
public abstract String getGpuType()The GPU type of the time series.
string gpu_type = 7;
| Returns | |
|---|---|
| Type | Description |
String |
The gpuType. |
getGpuTypeBytes()
public abstract ByteString getGpuTypeBytes()The GPU type of the time series.
string gpu_type = 7;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gpuType. |
getIsSpot()
public abstract boolean getIsSpot()Optional. The location of the usage data in time series.
bool is_spot = 11 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The isSpot. |
getLocation()
public abstract String getLocation()Optional. The location of the usage data in time series.
string location = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public abstract ByteString getLocationBytes()Optional. The location of the usage data in time series.
string location = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
getLocationType()
public abstract TimeSeries.LocationType getLocationType()Required. The type of location that the time series is summarizing.
.google.cloud.capacityplanner.v1beta.TimeSeries.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TimeSeries.LocationType |
The locationType. |
getLocationTypeValue()
public abstract int getLocationTypeValue()Required. The type of location that the time series is summarizing.
.google.cloud.capacityplanner.v1beta.TimeSeries.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for locationType. |
getMachineFamily()
public abstract String getMachineFamily()The machine family for the time series values to return. Possible values include "n1" and "n2d".
string machine_family = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The machineFamily. |
getMachineFamilyBytes()
public abstract ByteString getMachineFamilyBytes()The machine family for the time series values to return. Possible values include "n1" and "n2d".
string machine_family = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineFamily. |
getMachineShape()
public abstract MachineShape getMachineShape()The machine shape of the time series.
.google.cloud.capacityplanner.v1beta.MachineShape machine_shape = 8;
| Returns | |
|---|---|
| Type | Description |
MachineShape |
The machineShape. |
getMachineShapeOrBuilder()
public abstract MachineShapeOrBuilder getMachineShapeOrBuilder()The machine shape of the time series.
.google.cloud.capacityplanner.v1beta.MachineShape machine_shape = 8;
| Returns | |
|---|---|
| Type | Description |
MachineShapeOrBuilder |
|
getPoints(int index)
public abstract Point getPoints(int index)The data points of this time series. When listing time series, points are returned in chronological order.
repeated .google.cloud.capacityplanner.v1beta.Point points = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Point |
|
getPointsCount()
public abstract int getPointsCount()The data points of this time series. When listing time series, points are returned in chronological order.
repeated .google.cloud.capacityplanner.v1beta.Point points = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getPointsList()
public abstract List<Point> getPointsList()The data points of this time series. When listing time series, points are returned in chronological order.
repeated .google.cloud.capacityplanner.v1beta.Point points = 4;
| Returns | |
|---|---|
| Type | Description |
List<Point> |
|
getPointsOrBuilder(int index)
public abstract PointOrBuilder getPointsOrBuilder(int index)The data points of this time series. When listing time series, points are returned in chronological order.
repeated .google.cloud.capacityplanner.v1beta.Point points = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
PointOrBuilder |
|
getPointsOrBuilderList()
public abstract List<? extends PointOrBuilder> getPointsOrBuilderList()The data points of this time series. When listing time series, points are returned in chronological order.
repeated .google.cloud.capacityplanner.v1beta.Point points = 4;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.capacityplanner.v1beta.PointOrBuilder> |
|
getTpuType()
public abstract String getTpuType()The TPU type of the time series.
string tpu_type = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The tpuType. |
getTpuTypeBytes()
public abstract ByteString getTpuTypeBytes()The TPU type of the time series.
string tpu_type = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tpuType. |
getUnit()
public abstract String getUnit()The units in which the values are reported.
string unit = 5;
| Returns | |
|---|---|
| Type | Description |
String |
The unit. |
getUnitBytes()
public abstract ByteString getUnitBytes()The units in which the values are reported.
string unit = 5;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unit. |
hasMachineShape()
public abstract boolean hasMachineShape()The machine shape of the time series.
.google.cloud.capacityplanner.v1beta.MachineShape machine_shape = 8;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the machineShape field is set. |