public static final class FutureReservation.Status.Builder extends GeneratedMessageV3.Builder<FutureReservation.Status.Builder> implements FutureReservation.StatusOrBuilderRepresents status related to the future reservation.
Protobuf type google.cloud.capacityplanner.v1beta.FutureReservation.Status
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FutureReservation.Status.BuilderImplements
FutureReservation.StatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAutoCreatedReservations(Iterable<String> values)
public FutureReservation.Status.Builder addAllAutoCreatedReservations(Iterable<String> values)Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The autoCreatedReservations to add. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
addAutoCreatedReservations(String value)
public FutureReservation.Status.Builder addAutoCreatedReservations(String value)Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe autoCreatedReservations to add. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
addAutoCreatedReservationsBytes(ByteString value)
public FutureReservation.Status.Builder addAutoCreatedReservationsBytes(ByteString value)Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the autoCreatedReservations to add. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation.Status.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
build()
public FutureReservation.Status build()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status |
|
buildPartial()
public FutureReservation.Status buildPartial()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status |
|
clear()
public FutureReservation.Status.Builder clear()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
clearAutoCreatedReservations()
public FutureReservation.Status.Builder clearAutoCreatedReservations()Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FutureReservation.Status.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
clearFulfilledCount()
public FutureReservation.Status.Builder clearFulfilledCount()This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations.
int64 fulfilled_count = 4;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
clearLockTime()
public FutureReservation.Status.Builder clearLockTime()Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public FutureReservation.Status.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
clearProcurementStatus()
public FutureReservation.Status.Builder clearProcurementStatus()Current state of this Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status.ProcurementStatus procurement_status = 1;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
clone()
public FutureReservation.Status.Builder clone()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
getAutoCreatedReservations(int index)
public String getAutoCreatedReservations(int index)Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The autoCreatedReservations at the given index. |
getAutoCreatedReservationsBytes(int index)
public ByteString getAutoCreatedReservationsBytes(int index)Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the autoCreatedReservations at the given index. |
getAutoCreatedReservationsCount()
public int getAutoCreatedReservationsCount()Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The count of autoCreatedReservations. |
getAutoCreatedReservationsList()
public ProtocolStringList getAutoCreatedReservationsList()Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the autoCreatedReservations. |
getDefaultInstanceForType()
public FutureReservation.Status getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFulfilledCount()
public long getFulfilledCount()This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations.
int64 fulfilled_count = 4;
| Returns | |
|---|---|
| Type | Description |
long |
The fulfilledCount. |
getLockTime()
public Timestamp getLockTime()Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The lockTime. |
getLockTimeBuilder()
public Timestamp.Builder getLockTimeBuilder()Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getLockTimeOrBuilder()
public TimestampOrBuilder getLockTimeOrBuilder()Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
getProcurementStatus()
public FutureReservation.Status.ProcurementStatus getProcurementStatus()Current state of this Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status.ProcurementStatus procurement_status = 1;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.ProcurementStatus |
The procurementStatus. |
getProcurementStatusValue()
public int getProcurementStatusValue()Current state of this Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status.ProcurementStatus procurement_status = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for procurementStatus. |
hasLockTime()
public boolean hasLockTime()Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lockTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(FutureReservation.Status other)
public FutureReservation.Status.Builder mergeFrom(FutureReservation.Status other)| Parameter | |
|---|---|
| Name | Description |
other |
FutureReservation.Status |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FutureReservation.Status.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FutureReservation.Status.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
mergeLockTime(Timestamp value)
public FutureReservation.Status.Builder mergeLockTime(Timestamp value)Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation.Status.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
setAutoCreatedReservations(int index, String value)
public FutureReservation.Status.Builder setAutoCreatedReservations(int index, String value)Fully qualified urls of the automatically created reservations at start_time.
repeated string auto_created_reservations = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe autoCreatedReservations to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation.Status.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
setFulfilledCount(long value)
public FutureReservation.Status.Builder setFulfilledCount(long value)This count indicates the fulfilled capacity so far. This is set during "PROVISIONING" state. This count also includes capacity delivered as part of existing matching reservations.
int64 fulfilled_count = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe fulfilledCount to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
setLockTime(Timestamp value)
public FutureReservation.Status.Builder setLockTime(Timestamp value)Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
setLockTime(Timestamp.Builder builderForValue)
public FutureReservation.Status.Builder setLockTime(Timestamp.Builder builderForValue)Time when Future Reservation would become LOCKED, after which no modifications to Future Reservation will be allowed. Applicable only after the Future Reservation is in the APPROVED state. The lock_time is an RFC3339 string. The procurement_status will transition to PROCURING state at this time.
.google.protobuf.Timestamp lock_time = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
setProcurementStatus(FutureReservation.Status.ProcurementStatus value)
public FutureReservation.Status.Builder setProcurementStatus(FutureReservation.Status.ProcurementStatus value)Current state of this Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status.ProcurementStatus procurement_status = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservation.Status.ProcurementStatusThe procurementStatus to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
setProcurementStatusValue(int value)
public FutureReservation.Status.Builder setProcurementStatusValue(int value)Current state of this Future Reservation
.google.cloud.capacityplanner.v1beta.FutureReservation.Status.ProcurementStatus procurement_status = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for procurementStatus to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FutureReservation.Status.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation.Status.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Status.Builder |
|