Class FutureReservation (1.92.0)

public final class FutureReservation extends GeneratedMessageV3 implements FutureReservationOrBuilder

Protobuf type google.cloud.compute.v1.FutureReservation

Static Fields

AGGREGATE_RESERVATION_FIELD_NUMBER

public static final int AGGREGATE_RESERVATION_FIELD_NUMBER
Field Value
Type Description
int

AUTO_CREATED_RESERVATIONS_DELETE_TIME_FIELD_NUMBER

public static final int AUTO_CREATED_RESERVATIONS_DELETE_TIME_FIELD_NUMBER
Field Value
Type Description
int

AUTO_CREATED_RESERVATIONS_DURATION_FIELD_NUMBER

public static final int AUTO_CREATED_RESERVATIONS_DURATION_FIELD_NUMBER
Field Value
Type Description
int

AUTO_DELETE_AUTO_CREATED_RESERVATIONS_FIELD_NUMBER

public static final int AUTO_DELETE_AUTO_CREATED_RESERVATIONS_FIELD_NUMBER
Field Value
Type Description
int

COMMITMENT_INFO_FIELD_NUMBER

public static final int COMMITMENT_INFO_FIELD_NUMBER
Field Value
Type Description
int

CREATION_TIMESTAMP_FIELD_NUMBER

public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

DEPLOYMENT_TYPE_FIELD_NUMBER

public static final int DEPLOYMENT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_EMERGENT_MAINTENANCE_FIELD_NUMBER

public static final int ENABLE_EMERGENT_MAINTENANCE_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

public static final int ID_FIELD_NUMBER
Field Value
Type Description
int

KIND_FIELD_NUMBER

public static final int KIND_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NAME_PREFIX_FIELD_NUMBER

public static final int NAME_PREFIX_FIELD_NUMBER
Field Value
Type Description
int

PLANNING_STATUS_FIELD_NUMBER

public static final int PLANNING_STATUS_FIELD_NUMBER
Field Value
Type Description
int

RESERVATION_MODE_FIELD_NUMBER

public static final int RESERVATION_MODE_FIELD_NUMBER
Field Value
Type Description
int

RESERVATION_NAME_FIELD_NUMBER

public static final int RESERVATION_NAME_FIELD_NUMBER
Field Value
Type Description
int

SCHEDULING_TYPE_FIELD_NUMBER

public static final int SCHEDULING_TYPE_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_FIELD_NUMBER
Field Value
Type Description
int
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER
Field Value
Type Description
int

SHARE_SETTINGS_FIELD_NUMBER

public static final int SHARE_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

SPECIFIC_RESERVATION_REQUIRED_FIELD_NUMBER

public static final int SPECIFIC_RESERVATION_REQUIRED_FIELD_NUMBER
Field Value
Type Description
int

SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER

public static final int SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER
Field Value
Type Description
int

STATUS_FIELD_NUMBER

public static final int STATUS_FIELD_NUMBER
Field Value
Type Description
int

TIME_WINDOW_FIELD_NUMBER

public static final int TIME_WINDOW_FIELD_NUMBER
Field Value
Type Description
int

ZONE_FIELD_NUMBER

public static final int ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FutureReservation getDefaultInstance()
Returns
Type Description
FutureReservation

getDescriptor()

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

newBuilder()

public static FutureReservation.Builder newBuilder()
Returns
Type Description
FutureReservation.Builder

newBuilder(FutureReservation prototype)

public static FutureReservation.Builder newBuilder(FutureReservation prototype)
Parameter
Name Description
prototype FutureReservation
Returns
Type Description
FutureReservation.Builder

parseDelimitedFrom(InputStream input)

public static FutureReservation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FutureReservation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FutureReservation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FutureReservation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FutureReservation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FutureReservation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FutureReservation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FutureReservation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FutureReservation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FutureReservation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FutureReservation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FutureReservation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FutureReservation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FutureReservation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FutureReservation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FutureReservation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FutureReservation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FutureReservation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureReservation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FutureReservation> parser()
Returns
Type Description
Parser<FutureReservation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAggregateReservation()

public AllocationAggregateReservation getAggregateReservation()

Aggregate reservation details for the future reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;

Returns
Type Description
AllocationAggregateReservation

The aggregateReservation.

getAggregateReservationOrBuilder()

public AllocationAggregateReservationOrBuilder getAggregateReservationOrBuilder()

Aggregate reservation details for the future reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;

Returns
Type Description
AllocationAggregateReservationOrBuilder

getAutoCreatedReservationsDeleteTime()

public String getAutoCreatedReservationsDeleteTime()

Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.

optional string auto_created_reservations_delete_time = 242855120;

Returns
Type Description
String

The autoCreatedReservationsDeleteTime.

getAutoCreatedReservationsDeleteTimeBytes()

public ByteString getAutoCreatedReservationsDeleteTimeBytes()

Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.

optional string auto_created_reservations_delete_time = 242855120;

Returns
Type Description
ByteString

The bytes for autoCreatedReservationsDeleteTime.

getAutoCreatedReservationsDuration()

public Duration getAutoCreatedReservationsDuration()

Specifies the duration of auto-created reservations. It represents relative time to future reservation start_time when auto-created reservations will be automatically deleted by Compute Engine. Duration time unit is represented as a count of seconds and fractions of seconds at nanosecond resolution.

optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;

Returns
Type Description
Duration

The autoCreatedReservationsDuration.

getAutoCreatedReservationsDurationOrBuilder()

public DurationOrBuilder getAutoCreatedReservationsDurationOrBuilder()

Specifies the duration of auto-created reservations. It represents relative time to future reservation start_time when auto-created reservations will be automatically deleted by Compute Engine. Duration time unit is represented as a count of seconds and fractions of seconds at nanosecond resolution.

optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;

Returns
Type Description
DurationOrBuilder

getAutoDeleteAutoCreatedReservations()

public boolean getAutoDeleteAutoCreatedReservations()

Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.

optional bool auto_delete_auto_created_reservations = 491352490;

Returns
Type Description
boolean

The autoDeleteAutoCreatedReservations.

getCommitmentInfo()

public FutureReservationCommitmentInfo getCommitmentInfo()

If not present, then FR will not deliver a new commitment or update an existing commitment.

optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;

Returns
Type Description
FutureReservationCommitmentInfo

The commitmentInfo.

getCommitmentInfoOrBuilder()

public FutureReservationCommitmentInfoOrBuilder getCommitmentInfoOrBuilder()

If not present, then FR will not deliver a new commitment or update an existing commitment.

optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;

Returns
Type Description
FutureReservationCommitmentInfoOrBuilder

getCreationTimestamp()

public String getCreationTimestamp()

Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public FutureReservation getDefaultInstanceForType()
Returns
Type Description
FutureReservation

getDeploymentType()

public String getDeploymentType()

Type of the deployment requested as part of future reservation. Check the DeploymentType enum for the list of possible values.

optional string deployment_type = 396722292;

Returns
Type Description
String

The deploymentType.

getDeploymentTypeBytes()

public ByteString getDeploymentTypeBytes()

Type of the deployment requested as part of future reservation. Check the DeploymentType enum for the list of possible values.

optional string deployment_type = 396722292;

Returns
Type Description
ByteString

The bytes for deploymentType.

getDescription()

public String getDescription()

An optional description of this resource. Provide this property when you create the future reservation.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the future reservation.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getEnableEmergentMaintenance()

public boolean getEnableEmergentMaintenance()

Indicates if this group of VMs have emergent maintenance enabled.

optional bool enable_emergent_maintenance = 353759497;

Returns
Type Description
boolean

The enableEmergentMaintenance.

getId()

public long getId()

Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getKind()

public String getKind()

Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getName()

public String getName()

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getNamePrefix()

public String getNamePrefix()

Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.

optional string name_prefix = 236409542;

Returns
Type Description
String

The namePrefix.

getNamePrefixBytes()

public ByteString getNamePrefixBytes()

Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.

optional string name_prefix = 236409542;

Returns
Type Description
ByteString

The bytes for namePrefix.

getParserForType()

public Parser<FutureReservation> getParserForType()
Returns
Type Description
Parser<FutureReservation>
Overrides

getPlanningStatus()

public String getPlanningStatus()

Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.

optional string planning_status = 19714836;

Returns
Type Description
String

The planningStatus.

getPlanningStatusBytes()

public ByteString getPlanningStatusBytes()

Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.

optional string planning_status = 19714836;

Returns
Type Description
ByteString

The bytes for planningStatus.

getReservationMode()

public String getReservationMode()

The reservation mode which determines reservation-termination behavior and expected pricing. Check the ReservationMode enum for the list of possible values.

optional string reservation_mode = 277294646;

Returns
Type Description
String

The reservationMode.

getReservationModeBytes()

public ByteString getReservationModeBytes()

The reservation mode which determines reservation-termination behavior and expected pricing. Check the ReservationMode enum for the list of possible values.

optional string reservation_mode = 277294646;

Returns
Type Description
ByteString

The bytes for reservationMode.

getReservationName()

public String getReservationName()

Name of reservations where the capacity is provisioned at the time of delivery of future reservations. If the reservation with the given name does not exist already, it is created automatically at the time of Approval with INACTIVE state till specified start-time. Either provide the reservation_name or a name_prefix.

optional string reservation_name = 277311262;

Returns
Type Description
String

The reservationName.

getReservationNameBytes()

public ByteString getReservationNameBytes()

Name of reservations where the capacity is provisioned at the time of delivery of future reservations. If the reservation with the given name does not exist already, it is created automatically at the time of Approval with INACTIVE state till specified start-time. Either provide the reservation_name or a name_prefix.

optional string reservation_name = 277311262;

Returns
Type Description
ByteString

The bytes for reservationName.

getSchedulingType()

public String getSchedulingType()

Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.

optional string scheduling_type = 199835397;

Returns
Type Description
String

The schedulingType.

getSchedulingTypeBytes()

public ByteString getSchedulingTypeBytes()

Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.

optional string scheduling_type = 199835397;

Returns
Type Description
ByteString

The bytes for schedulingType.

public String getSelfLink()

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSelfLinkWithId()

public String getSelfLinkWithId()

Output only. [Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
String

The selfLinkWithId.

getSelfLinkWithIdBytes()

public ByteString getSelfLinkWithIdBytes()

Output only. [Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
ByteString

The bytes for selfLinkWithId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getShareSettings()

public ShareSettings getShareSettings()

List of Projects/Folders to share with.

optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;

Returns
Type Description
ShareSettings

The shareSettings.

getShareSettingsOrBuilder()

public ShareSettingsOrBuilder getShareSettingsOrBuilder()

List of Projects/Folders to share with.

optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;

Returns
Type Description
ShareSettingsOrBuilder

getSpecificReservationRequired()

public boolean getSpecificReservationRequired()

Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation.

optional bool specific_reservation_required = 226550687;

Returns
Type Description
boolean

The specificReservationRequired.

getSpecificSkuProperties()

public FutureReservationSpecificSKUProperties getSpecificSkuProperties()

Future Reservation configuration to indicate instance properties and total count.

optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;

Returns
Type Description
FutureReservationSpecificSKUProperties

The specificSkuProperties.

getSpecificSkuPropertiesOrBuilder()

public FutureReservationSpecificSKUPropertiesOrBuilder getSpecificSkuPropertiesOrBuilder()

Future Reservation configuration to indicate instance properties and total count.

optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;

Returns
Type Description
FutureReservationSpecificSKUPropertiesOrBuilder

getStatus()

public FutureReservationStatus getStatus()

Output only. [Output only] Status of the Future Reservation

optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;

Returns
Type Description
FutureReservationStatus

The status.

getStatusOrBuilder()

public FutureReservationStatusOrBuilder getStatusOrBuilder()

Output only. [Output only] Status of the Future Reservation

optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;

Returns
Type Description
FutureReservationStatusOrBuilder

getTimeWindow()

public FutureReservationTimeWindow getTimeWindow()

Time window for this Future Reservation.

optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;

Returns
Type Description
FutureReservationTimeWindow

The timeWindow.

getTimeWindowOrBuilder()

public FutureReservationTimeWindowOrBuilder getTimeWindowOrBuilder()

Time window for this Future Reservation.

optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;

Returns
Type Description
FutureReservationTimeWindowOrBuilder

getZone()

public String getZone()

Output only. [Output Only] URL of the Zone where this future reservation resides.

optional string zone = 3744684;

Returns
Type Description
String

The zone.

getZoneBytes()

public ByteString getZoneBytes()

Output only. [Output Only] URL of the Zone where this future reservation resides.

optional string zone = 3744684;

Returns
Type Description
ByteString

The bytes for zone.

hasAggregateReservation()

public boolean hasAggregateReservation()

Aggregate reservation details for the future reservation.

optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;

Returns
Type Description
boolean

Whether the aggregateReservation field is set.

hasAutoCreatedReservationsDeleteTime()

public boolean hasAutoCreatedReservationsDeleteTime()

Future timestamp when the FR auto-created reservations will be deleted by Compute Engine. Format of this field must be a valid href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339 value.

optional string auto_created_reservations_delete_time = 242855120;

Returns
Type Description
boolean

Whether the autoCreatedReservationsDeleteTime field is set.

hasAutoCreatedReservationsDuration()

public boolean hasAutoCreatedReservationsDuration()

Specifies the duration of auto-created reservations. It represents relative time to future reservation start_time when auto-created reservations will be automatically deleted by Compute Engine. Duration time unit is represented as a count of seconds and fractions of seconds at nanosecond resolution.

optional .google.cloud.compute.v1.Duration auto_created_reservations_duration = 496244741;

Returns
Type Description
boolean

Whether the autoCreatedReservationsDuration field is set.

hasAutoDeleteAutoCreatedReservations()

public boolean hasAutoDeleteAutoCreatedReservations()

Setting for enabling or disabling automatic deletion for auto-created reservation. If set to true, auto-created reservations will be deleted at Future Reservation's end time (default) or at user's defined timestamp if any of the [auto_created_reservations_delete_time, auto_created_reservations_duration] values is specified. For keeping auto-created reservation indefinitely, this value should be set to false.

optional bool auto_delete_auto_created_reservations = 491352490;

Returns
Type Description
boolean

Whether the autoDeleteAutoCreatedReservations field is set.

hasCommitmentInfo()

public boolean hasCommitmentInfo()

If not present, then FR will not deliver a new commitment or update an existing commitment.

optional .google.cloud.compute.v1.FutureReservationCommitmentInfo commitment_info = 164362136;

Returns
Type Description
boolean

Whether the commitmentInfo field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDeploymentType()

public boolean hasDeploymentType()

Type of the deployment requested as part of future reservation. Check the DeploymentType enum for the list of possible values.

optional string deployment_type = 396722292;

Returns
Type Description
boolean

Whether the deploymentType field is set.

hasDescription()

public boolean hasDescription()

An optional description of this resource. Provide this property when you create the future reservation.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasEnableEmergentMaintenance()

public boolean hasEnableEmergentMaintenance()

Indicates if this group of VMs have emergent maintenance enabled.

optional bool enable_emergent_maintenance = 353759497;

Returns
Type Description
boolean

Whether the enableEmergentMaintenance field is set.

hasId()

public boolean hasId()

Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasKind()

public boolean hasKind()

Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasName()

public boolean hasName()

The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasNamePrefix()

public boolean hasNamePrefix()

Name prefix for the reservations to be created at the time of delivery. The name prefix must comply with RFC1035. Maximum allowed length for name prefix is 20. Automatically created reservations name format will be -date-####.

optional string name_prefix = 236409542;

Returns
Type Description
boolean

Whether the namePrefix field is set.

hasPlanningStatus()

public boolean hasPlanningStatus()

Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.

optional string planning_status = 19714836;

Returns
Type Description
boolean

Whether the planningStatus field is set.

hasReservationMode()

public boolean hasReservationMode()

The reservation mode which determines reservation-termination behavior and expected pricing. Check the ReservationMode enum for the list of possible values.

optional string reservation_mode = 277294646;

Returns
Type Description
boolean

Whether the reservationMode field is set.

hasReservationName()

public boolean hasReservationName()

Name of reservations where the capacity is provisioned at the time of delivery of future reservations. If the reservation with the given name does not exist already, it is created automatically at the time of Approval with INACTIVE state till specified start-time. Either provide the reservation_name or a name_prefix.

optional string reservation_name = 277311262;

Returns
Type Description
boolean

Whether the reservationName field is set.

hasSchedulingType()

public boolean hasSchedulingType()

Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.

optional string scheduling_type = 199835397;

Returns
Type Description
boolean

Whether the schedulingType field is set.

public boolean hasSelfLink()

Output only. [Output Only] Server-defined fully-qualified URL for this resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasSelfLinkWithId()

public boolean hasSelfLinkWithId()

Output only. [Output Only] Server-defined URL for this resource with the resource id.

optional string self_link_with_id = 44520962;

Returns
Type Description
boolean

Whether the selfLinkWithId field is set.

hasShareSettings()

public boolean hasShareSettings()

List of Projects/Folders to share with.

optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;

Returns
Type Description
boolean

Whether the shareSettings field is set.

hasSpecificReservationRequired()

public boolean hasSpecificReservationRequired()

Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from the delivered reservation.

optional bool specific_reservation_required = 226550687;

Returns
Type Description
boolean

Whether the specificReservationRequired field is set.

hasSpecificSkuProperties()

public boolean hasSpecificSkuProperties()

Future Reservation configuration to indicate instance properties and total count.

optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;

Returns
Type Description
boolean

Whether the specificSkuProperties field is set.

hasStatus()

public boolean hasStatus()

Output only. [Output only] Status of the Future Reservation

optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.

hasTimeWindow()

public boolean hasTimeWindow()

Time window for this Future Reservation.

optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;

Returns
Type Description
boolean

Whether the timeWindow field is set.

hasZone()

public boolean hasZone()

Output only. [Output Only] URL of the Zone where this future reservation resides.

optional string zone = 3744684;

Returns
Type Description
boolean

Whether the zone field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FutureReservation.Builder newBuilderForType()
Returns
Type Description
FutureReservation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FutureReservation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FutureReservation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FutureReservation.Builder toBuilder()
Returns
Type Description
FutureReservation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException