Class FutureReservationStatusLastKnownGoodState.Builder (1.92.0)

public static final class FutureReservationStatusLastKnownGoodState.Builder extends GeneratedMessageV3.Builder<FutureReservationStatusLastKnownGoodState.Builder> implements FutureReservationStatusLastKnownGoodStateOrBuilder

The state that the future reservation will be reverted to should the amendment be declined.

Protobuf type google.cloud.compute.v1.FutureReservationStatusLastKnownGoodState

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FutureReservationStatusLastKnownGoodState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

build()

public FutureReservationStatusLastKnownGoodState build()
Returns
Type Description
FutureReservationStatusLastKnownGoodState

buildPartial()

public FutureReservationStatusLastKnownGoodState buildPartial()
Returns
Type Description
FutureReservationStatusLastKnownGoodState

clear()

public FutureReservationStatusLastKnownGoodState.Builder clear()
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

clearDescription()

public FutureReservationStatusLastKnownGoodState.Builder clearDescription()

Output only. [Output Only] The description of the FutureReservation before an amendment was requested.

optional string description = 422937596;

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

clearExistingMatchingUsageInfo()

public FutureReservationStatusLastKnownGoodState.Builder clearExistingMatchingUsageInfo()

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

clearField(Descriptors.FieldDescriptor field)

public FutureReservationStatusLastKnownGoodState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

clearFutureReservationSpecs()

public FutureReservationStatusLastKnownGoodState.Builder clearFutureReservationSpecs()

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

clearLockTime()

public FutureReservationStatusLastKnownGoodState.Builder clearLockTime()

Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.

optional string lock_time = 143772001;

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

clearNamePrefix()

public FutureReservationStatusLastKnownGoodState.Builder clearNamePrefix()

Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.

optional string name_prefix = 236409542;

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FutureReservationStatusLastKnownGoodState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

clearProcurementStatus()

public FutureReservationStatusLastKnownGoodState.Builder clearProcurementStatus()

Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.

optional string procurement_status = 224718945;

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

clone()

public FutureReservationStatusLastKnownGoodState.Builder clone()
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

getDefaultInstanceForType()

public FutureReservationStatusLastKnownGoodState getDefaultInstanceForType()
Returns
Type Description
FutureReservationStatusLastKnownGoodState

getDescription()

public String getDescription()

Output only. [Output Only] The description of the FutureReservation before an amendment was requested.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Output only. [Output Only] The description of the FutureReservation before an amendment was requested.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExistingMatchingUsageInfo()

public FutureReservationStatusExistingMatchingUsageInfo getExistingMatchingUsageInfo()

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Returns
Type Description
FutureReservationStatusExistingMatchingUsageInfo

The existingMatchingUsageInfo.

getExistingMatchingUsageInfoBuilder()

public FutureReservationStatusExistingMatchingUsageInfo.Builder getExistingMatchingUsageInfoBuilder()

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Returns
Type Description
FutureReservationStatusExistingMatchingUsageInfo.Builder

getExistingMatchingUsageInfoOrBuilder()

public FutureReservationStatusExistingMatchingUsageInfoOrBuilder getExistingMatchingUsageInfoOrBuilder()

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Returns
Type Description
FutureReservationStatusExistingMatchingUsageInfoOrBuilder

getFutureReservationSpecs()

public FutureReservationStatusLastKnownGoodStateFutureReservationSpecs getFutureReservationSpecs()

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Returns
Type Description
FutureReservationStatusLastKnownGoodStateFutureReservationSpecs

The futureReservationSpecs.

getFutureReservationSpecsBuilder()

public FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder getFutureReservationSpecsBuilder()

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Returns
Type Description
FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder

getFutureReservationSpecsOrBuilder()

public FutureReservationStatusLastKnownGoodStateFutureReservationSpecsOrBuilder getFutureReservationSpecsOrBuilder()

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Returns
Type Description
FutureReservationStatusLastKnownGoodStateFutureReservationSpecsOrBuilder

getLockTime()

public String getLockTime()

Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.

optional string lock_time = 143772001;

Returns
Type Description
String

The lockTime.

getLockTimeBytes()

public ByteString getLockTimeBytes()

Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.

optional string lock_time = 143772001;

Returns
Type Description
ByteString

The bytes for lockTime.

getNamePrefix()

public String getNamePrefix()

Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.

optional string name_prefix = 236409542;

Returns
Type Description
String

The namePrefix.

getNamePrefixBytes()

public ByteString getNamePrefixBytes()

Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.

optional string name_prefix = 236409542;

Returns
Type Description
ByteString

The bytes for namePrefix.

getProcurementStatus()

public String getProcurementStatus()

Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.

optional string procurement_status = 224718945;

Returns
Type Description
String

The procurementStatus.

getProcurementStatusBytes()

public ByteString getProcurementStatusBytes()

Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.

optional string procurement_status = 224718945;

Returns
Type Description
ByteString

The bytes for procurementStatus.

hasDescription()

public boolean hasDescription()

Output only. [Output Only] The description of the FutureReservation before an amendment was requested.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasExistingMatchingUsageInfo()

public boolean hasExistingMatchingUsageInfo()

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Returns
Type Description
boolean

Whether the existingMatchingUsageInfo field is set.

hasFutureReservationSpecs()

public boolean hasFutureReservationSpecs()

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Returns
Type Description
boolean

Whether the futureReservationSpecs field is set.

hasLockTime()

public boolean hasLockTime()

Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.

optional string lock_time = 143772001;

Returns
Type Description
boolean

Whether the lockTime field is set.

hasNamePrefix()

public boolean hasNamePrefix()

Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.

optional string name_prefix = 236409542;

Returns
Type Description
boolean

Whether the namePrefix field is set.

hasProcurementStatus()

public boolean hasProcurementStatus()

Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.

optional string procurement_status = 224718945;

Returns
Type Description
boolean

Whether the procurementStatus field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo value)

public FutureReservationStatusLastKnownGoodState.Builder mergeExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo value)

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Parameter
Name Description
value FutureReservationStatusExistingMatchingUsageInfo
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

mergeFrom(FutureReservationStatusLastKnownGoodState other)

public FutureReservationStatusLastKnownGoodState.Builder mergeFrom(FutureReservationStatusLastKnownGoodState other)
Parameter
Name Description
other FutureReservationStatusLastKnownGoodState
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FutureReservationStatusLastKnownGoodState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FutureReservationStatusLastKnownGoodState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

mergeFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs value)

public FutureReservationStatusLastKnownGoodState.Builder mergeFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs value)

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Parameter
Name Description
value FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FutureReservationStatusLastKnownGoodState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

setDescription(String value)

public FutureReservationStatusLastKnownGoodState.Builder setDescription(String value)

Output only. [Output Only] The description of the FutureReservation before an amendment was requested.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public FutureReservationStatusLastKnownGoodState.Builder setDescriptionBytes(ByteString value)

Output only. [Output Only] The description of the FutureReservation before an amendment was requested.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo value)

public FutureReservationStatusLastKnownGoodState.Builder setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo value)

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Parameter
Name Description
value FutureReservationStatusExistingMatchingUsageInfo
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo.Builder builderForValue)

public FutureReservationStatusLastKnownGoodState.Builder setExistingMatchingUsageInfo(FutureReservationStatusExistingMatchingUsageInfo.Builder builderForValue)

Output only. [Output Only] Represents the matching usage for the future reservation before an amendment was requested.

optional .google.cloud.compute.v1.FutureReservationStatusExistingMatchingUsageInfo existing_matching_usage_info = 509920602;

Parameter
Name Description
builderForValue FutureReservationStatusExistingMatchingUsageInfo.Builder
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public FutureReservationStatusLastKnownGoodState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

setFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs value)

public FutureReservationStatusLastKnownGoodState.Builder setFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs value)

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Parameter
Name Description
value FutureReservationStatusLastKnownGoodStateFutureReservationSpecs
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

setFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder builderForValue)

public FutureReservationStatusLastKnownGoodState.Builder setFutureReservationSpecs(FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder builderForValue)

optional .google.cloud.compute.v1.FutureReservationStatusLastKnownGoodStateFutureReservationSpecs future_reservation_specs = 82528873;

Parameter
Name Description
builderForValue FutureReservationStatusLastKnownGoodStateFutureReservationSpecs.Builder
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

setLockTime(String value)

public FutureReservationStatusLastKnownGoodState.Builder setLockTime(String value)

Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.

optional string lock_time = 143772001;

Parameter
Name Description
value String

The lockTime to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setLockTimeBytes(ByteString value)

public FutureReservationStatusLastKnownGoodState.Builder setLockTimeBytes(ByteString value)

Output only. [Output Only] The lock time of the FutureReservation before an amendment was requested.

optional string lock_time = 143772001;

Parameter
Name Description
value ByteString

The bytes for lockTime to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setNamePrefix(String value)

public FutureReservationStatusLastKnownGoodState.Builder setNamePrefix(String value)

Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.

optional string name_prefix = 236409542;

Parameter
Name Description
value String

The namePrefix to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setNamePrefixBytes(ByteString value)

public FutureReservationStatusLastKnownGoodState.Builder setNamePrefixBytes(ByteString value)

Output only. [Output Only] The name prefix of the Future Reservation before an amendment was requested.

optional string name_prefix = 236409542;

Parameter
Name Description
value ByteString

The bytes for namePrefix to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setProcurementStatus(String value)

public FutureReservationStatusLastKnownGoodState.Builder setProcurementStatus(String value)

Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.

optional string procurement_status = 224718945;

Parameter
Name Description
value String

The procurementStatus to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setProcurementStatusBytes(ByteString value)

public FutureReservationStatusLastKnownGoodState.Builder setProcurementStatusBytes(ByteString value)

Output only. [Output Only] The status of the last known good state for the Future Reservation. Check the ProcurementStatus enum for the list of possible values.

optional string procurement_status = 224718945;

Parameter
Name Description
value ByteString

The bytes for procurementStatus to set.

Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FutureReservationStatusLastKnownGoodState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FutureReservationStatusLastKnownGoodState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FutureReservationStatusLastKnownGoodState.Builder
Overrides