public final class ReservationData extends GeneratedMessage implements ReservationDataOrBuilder
Response entity for reservations data.
Protobuf type google.cloud.capacityplanner.v1beta.ReservationData
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ALLOCATIONS_FIELD_NUMBER
public static final int ALLOCATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FUTURE_RESERVATIONS_FIELD_NUMBER
public static final int FUTURE_RESERVATIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TIME_SERIES_FIELD_NUMBER
public static final int TIME_SERIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
USED_RESERVATION_VALUES_FIELD_NUMBER
public static final int USED_RESERVATION_VALUES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ReservationData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ReservationData.Builder newBuilder()
newBuilder(ReservationData prototype)
public static ReservationData.Builder newBuilder(ReservationData prototype)
public static ReservationData parseDelimitedFrom(InputStream input)
public static ReservationData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ReservationData parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReservationData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ReservationData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReservationData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReservationData parseFrom(CodedInputStream input)
public static ReservationData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReservationData parseFrom(InputStream input)
public static ReservationData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ReservationData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReservationData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ReservationData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAllocations(int index)
public Allocation getAllocations(int index)
Allocations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;
| Parameter |
| Name |
Description |
index |
int
|
getAllocationsCount()
public int getAllocationsCount()
Allocations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;
| Returns |
| Type |
Description |
int |
|
getAllocationsList()
public List<Allocation> getAllocationsList()
Allocations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;
getAllocationsOrBuilder(int index)
public AllocationOrBuilder getAllocationsOrBuilder(int index)
Allocations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;
| Parameter |
| Name |
Description |
index |
int
|
getAllocationsOrBuilderList()
public List<? extends AllocationOrBuilder> getAllocationsOrBuilderList()
Allocations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.Allocation allocations = 4;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.capacityplanner.v1beta.AllocationOrBuilder> |
|
getDefaultInstanceForType()
public ReservationData getDefaultInstanceForType()
getFutureReservations(int index)
public FutureReservation getFutureReservations(int index)
Future reservations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;
| Parameter |
| Name |
Description |
index |
int
|
getFutureReservationsCount()
public int getFutureReservationsCount()
Future reservations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;
| Returns |
| Type |
Description |
int |
|
getFutureReservationsList()
public List<FutureReservation> getFutureReservationsList()
Future reservations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;
getFutureReservationsOrBuilder(int index)
public FutureReservationOrBuilder getFutureReservationsOrBuilder(int index)
Future reservations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;
| Parameter |
| Name |
Description |
index |
int
|
getFutureReservationsOrBuilderList()
public List<? extends FutureReservationOrBuilder> getFutureReservationsOrBuilderList()
Future reservations filtered by the criteria.
repeated .google.cloud.capacityplanner.v1beta.FutureReservation future_reservations = 3;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.capacityplanner.v1beta.FutureReservationOrBuilder> |
|
getName()
Identifier. The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/reservations/{reservation_id}
or
organizations/{organization_id}/locations/{location_id}/reservations/{reservation_id}
or
folders/{folder_id}/locations/{location_id}/reservations/{reservation_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
String |
The name.
|
getNameBytes()
public ByteString getNameBytes()
Identifier. The resource name of the connection in the form of:
projects/{project_id}/locations/{location_id}/reservations/{reservation_id}
or
organizations/{organization_id}/locations/{location_id}/reservations/{reservation_id}
or
folders/{folder_id}/locations/{location_id}/reservations/{reservation_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
getParserForType()
public Parser<ReservationData> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTimeSeries()
public TimeSeries getTimeSeries()
The collection of data points that represent the aggregated reserved value
for reservations filtered by the criteria.
.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;
| Returns |
| Type |
Description |
TimeSeries |
The timeSeries.
|
getTimeSeriesOrBuilder()
public TimeSeriesOrBuilder getTimeSeriesOrBuilder()
The collection of data points that represent the aggregated reserved value
for reservations filtered by the criteria.
.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;
getUsedReservationValues()
public TimeSeries getUsedReservationValues()
The collection of data points that represent the aggregated used value for
reservations filtered by the criteria.
.google.cloud.capacityplanner.v1beta.TimeSeries used_reservation_values = 5;
| Returns |
| Type |
Description |
TimeSeries |
The usedReservationValues.
|
getUsedReservationValuesOrBuilder()
public TimeSeriesOrBuilder getUsedReservationValuesOrBuilder()
The collection of data points that represent the aggregated used value for
reservations filtered by the criteria.
.google.cloud.capacityplanner.v1beta.TimeSeries used_reservation_values = 5;
hasTimeSeries()
public boolean hasTimeSeries()
The collection of data points that represent the aggregated reserved value
for reservations filtered by the criteria.
.google.cloud.capacityplanner.v1beta.TimeSeries time_series = 2;
| Returns |
| Type |
Description |
boolean |
Whether the timeSeries field is set.
|
hasUsedReservationValues()
public boolean hasUsedReservationValues()
The collection of data points that represent the aggregated used value for
reservations filtered by the criteria.
.google.cloud.capacityplanner.v1beta.TimeSeries used_reservation_values = 5;
| Returns |
| Type |
Description |
boolean |
Whether the usedReservationValues field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ReservationData.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ReservationData.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ReservationData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides