- 1.92.0 (latest)
- 1.91.0
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class FutureReservation.Builder extends GeneratedMessageV3.Builder<FutureReservation.Builder> implements FutureReservationOrBuilder Protobuf type google.cloud.compute.v1.FutureReservation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > FutureReservation.BuilderImplements
FutureReservationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
build()
public FutureReservation build()| Returns | |
|---|---|
| Type | Description |
FutureReservation |
|
buildPartial()
public FutureReservation buildPartial()| Returns | |
|---|---|
| Type | Description |
FutureReservation |
|
clear()
public FutureReservation.Builder clear()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearAggregateReservation()
public FutureReservation.Builder clearAggregateReservation()Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearAutoCreatedReservationsDeleteTime()
public FutureReservation.Builder clearAutoCreatedReservationsDeleteTime()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 |
FutureReservation.Builder |
This builder for chaining. |
clearAutoCreatedReservationsDuration()
public FutureReservation.Builder clearAutoCreatedReservationsDuration()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 |
FutureReservation.Builder |
|
clearAutoDeleteAutoCreatedReservations()
public FutureReservation.Builder clearAutoDeleteAutoCreatedReservations()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 |
FutureReservation.Builder |
This builder for chaining. |
clearCommitmentInfo()
public FutureReservation.Builder clearCommitmentInfo()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 |
FutureReservation.Builder |
|
clearCreationTimestamp()
public FutureReservation.Builder clearCreationTimestamp()Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearDeploymentType()
public FutureReservation.Builder clearDeploymentType()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 |
FutureReservation.Builder |
This builder for chaining. |
clearDescription()
public FutureReservation.Builder clearDescription()An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearEnableEmergentMaintenance()
public FutureReservation.Builder clearEnableEmergentMaintenance()Indicates if this group of VMs have emergent maintenance enabled.
optional bool enable_emergent_maintenance = 353759497;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public FutureReservation.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearId()
public FutureReservation.Builder clearId()Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.
optional uint64 id = 3355;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearKind()
public FutureReservation.Builder clearKind()Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearName()
public FutureReservation.Builder clearName() 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 |
FutureReservation.Builder |
This builder for chaining. |
clearNamePrefix()
public FutureReservation.Builder clearNamePrefix()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 |
FutureReservation.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public FutureReservation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearPlanningStatus()
public FutureReservation.Builder clearPlanningStatus()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 |
FutureReservation.Builder |
This builder for chaining. |
clearReservationMode()
public FutureReservation.Builder clearReservationMode()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 |
FutureReservation.Builder |
This builder for chaining. |
clearReservationName()
public FutureReservation.Builder clearReservationName()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 |
FutureReservation.Builder |
This builder for chaining. |
clearSchedulingType()
public FutureReservation.Builder clearSchedulingType()Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearSelfLink()
public FutureReservation.Builder clearSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearSelfLinkWithId()
public FutureReservation.Builder clearSelfLinkWithId()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clearShareSettings()
public FutureReservation.Builder clearShareSettings()List of Projects/Folders to share with.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearSpecificReservationRequired()
public FutureReservation.Builder clearSpecificReservationRequired()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 |
FutureReservation.Builder |
This builder for chaining. |
clearSpecificSkuProperties()
public FutureReservation.Builder clearSpecificSkuProperties()Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearStatus()
public FutureReservation.Builder clearStatus()Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearTimeWindow()
public FutureReservation.Builder clearTimeWindow()Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
clearZone()
public FutureReservation.Builder clearZone()Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
clone()
public FutureReservation.Builder clone()| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
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. |
getAggregateReservationBuilder()
public AllocationAggregateReservation.Builder getAggregateReservationBuilder()Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
| Returns | |
|---|---|
| Type | Description |
AllocationAggregateReservation.Builder |
|
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. |
getAutoCreatedReservationsDurationBuilder()
public Duration.Builder getAutoCreatedReservationsDurationBuilder()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.Builder |
|
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. |
getCommitmentInfoBuilder()
public FutureReservationCommitmentInfo.Builder getCommitmentInfoBuilder()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.Builder |
|
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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. |
getSelfLink()
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. |
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. |
getShareSettingsBuilder()
public ShareSettings.Builder getShareSettingsBuilder()List of Projects/Folders to share with.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Returns | |
|---|---|
| Type | Description |
ShareSettings.Builder |
|
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. |
getSpecificSkuPropertiesBuilder()
public FutureReservationSpecificSKUProperties.Builder getSpecificSkuPropertiesBuilder()Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
| Returns | |
|---|---|
| Type | Description |
FutureReservationSpecificSKUProperties.Builder |
|
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. |
getStatusBuilder()
public FutureReservationStatus.Builder getStatusBuilder()Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
| Returns | |
|---|---|
| Type | Description |
FutureReservationStatus.Builder |
|
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. |
getTimeWindowBuilder()
public FutureReservationTimeWindow.Builder getTimeWindowBuilder()Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
| Returns | |
|---|---|
| Type | Description |
FutureReservationTimeWindow.Builder |
|
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. |
hasSelfLink()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAggregateReservation(AllocationAggregateReservation value)
public FutureReservation.Builder mergeAggregateReservation(AllocationAggregateReservation value)Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
| Parameter | |
|---|---|
| Name | Description |
value |
AllocationAggregateReservation |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeAutoCreatedReservationsDuration(Duration value)
public FutureReservation.Builder mergeAutoCreatedReservationsDuration(Duration value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeCommitmentInfo(FutureReservationCommitmentInfo value)
public FutureReservation.Builder mergeCommitmentInfo(FutureReservationCommitmentInfo value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationCommitmentInfo |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeFrom(FutureReservation other)
public FutureReservation.Builder mergeFrom(FutureReservation other)| Parameter | |
|---|---|
| Name | Description |
other |
FutureReservation |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public FutureReservation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public FutureReservation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeShareSettings(ShareSettings value)
public FutureReservation.Builder mergeShareSettings(ShareSettings value)List of Projects/Folders to share with.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Parameter | |
|---|---|
| Name | Description |
value |
ShareSettings |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeSpecificSkuProperties(FutureReservationSpecificSKUProperties value)
public FutureReservation.Builder mergeSpecificSkuProperties(FutureReservationSpecificSKUProperties value)Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationSpecificSKUProperties |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeStatus(FutureReservationStatus value)
public FutureReservation.Builder mergeStatus(FutureReservationStatus value)Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationStatus |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeTimeWindow(FutureReservationTimeWindow value)
public FutureReservation.Builder mergeTimeWindow(FutureReservationTimeWindow value)Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationTimeWindow |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAggregateReservation(AllocationAggregateReservation value)
public FutureReservation.Builder setAggregateReservation(AllocationAggregateReservation value)Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
| Parameter | |
|---|---|
| Name | Description |
value |
AllocationAggregateReservation |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAggregateReservation(AllocationAggregateReservation.Builder builderForValue)
public FutureReservation.Builder setAggregateReservation(AllocationAggregateReservation.Builder builderForValue)Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AllocationAggregateReservation.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAutoCreatedReservationsDeleteTime(String value)
public FutureReservation.Builder setAutoCreatedReservationsDeleteTime(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe autoCreatedReservationsDeleteTime to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setAutoCreatedReservationsDeleteTimeBytes(ByteString value)
public FutureReservation.Builder setAutoCreatedReservationsDeleteTimeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for autoCreatedReservationsDeleteTime to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setAutoCreatedReservationsDuration(Duration value)
public FutureReservation.Builder setAutoCreatedReservationsDuration(Duration value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAutoCreatedReservationsDuration(Duration.Builder builderForValue)
public FutureReservation.Builder setAutoCreatedReservationsDuration(Duration.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Duration.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setAutoDeleteAutoCreatedReservations(boolean value)
public FutureReservation.Builder setAutoDeleteAutoCreatedReservations(boolean value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe autoDeleteAutoCreatedReservations to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setCommitmentInfo(FutureReservationCommitmentInfo value)
public FutureReservation.Builder setCommitmentInfo(FutureReservationCommitmentInfo value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationCommitmentInfo |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setCommitmentInfo(FutureReservationCommitmentInfo.Builder builderForValue)
public FutureReservation.Builder setCommitmentInfo(FutureReservationCommitmentInfo.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureReservationCommitmentInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setCreationTimestamp(String value)
public FutureReservation.Builder setCreationTimestamp(String value)Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public FutureReservation.Builder setCreationTimestampBytes(ByteString value)Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for creationTimestamp to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setDeploymentType(String value)
public FutureReservation.Builder setDeploymentType(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe deploymentType to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setDeploymentTypeBytes(ByteString value)
public FutureReservation.Builder setDeploymentTypeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for deploymentType to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setDescription(String value)
public FutureReservation.Builder setDescription(String value)An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public FutureReservation.Builder setDescriptionBytes(ByteString value)An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setEnableEmergentMaintenance(boolean value)
public FutureReservation.Builder setEnableEmergentMaintenance(boolean value)Indicates if this group of VMs have emergent maintenance enabled.
optional bool enable_emergent_maintenance = 353759497;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enableEmergentMaintenance to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public FutureReservation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setId(long value)
public FutureReservation.Builder setId(long value)Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.
optional uint64 id = 3355;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe id to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setKind(String value)
public FutureReservation.Builder setKind(String value)Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe kind to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public FutureReservation.Builder setKindBytes(ByteString value)Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for kind to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setName(String value)
public FutureReservation.Builder setName(String value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public FutureReservation.Builder setNameBytes(ByteString value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setNamePrefix(String value)
public FutureReservation.Builder setNamePrefix(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe namePrefix to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setNamePrefixBytes(ByteString value)
public FutureReservation.Builder setNamePrefixBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for namePrefix to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setPlanningStatus(String value)
public FutureReservation.Builder setPlanningStatus(String value)Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.
optional string planning_status = 19714836;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe planningStatus to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setPlanningStatusBytes(ByteString value)
public FutureReservation.Builder setPlanningStatusBytes(ByteString value)Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.
optional string planning_status = 19714836;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for planningStatus to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FutureReservation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setReservationMode(String value)
public FutureReservation.Builder setReservationMode(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reservationMode to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setReservationModeBytes(ByteString value)
public FutureReservation.Builder setReservationModeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reservationMode to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setReservationName(String value)
public FutureReservation.Builder setReservationName(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe reservationName to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setReservationNameBytes(ByteString value)
public FutureReservation.Builder setReservationNameBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for reservationName to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setSchedulingType(String value)
public FutureReservation.Builder setSchedulingType(String value)Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe schedulingType to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setSchedulingTypeBytes(ByteString value)
public FutureReservation.Builder setSchedulingTypeBytes(ByteString value)Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for schedulingType to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setSelfLink(String value)
public FutureReservation.Builder setSelfLink(String value)Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setSelfLinkBytes(ByteString value)
public FutureReservation.Builder setSelfLinkBytes(ByteString value)Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLink to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setSelfLinkWithId(String value)
public FutureReservation.Builder setSelfLinkWithId(String value)Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe selfLinkWithId to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setSelfLinkWithIdBytes(ByteString value)
public FutureReservation.Builder setSelfLinkWithIdBytes(ByteString value)Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for selfLinkWithId to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setShareSettings(ShareSettings value)
public FutureReservation.Builder setShareSettings(ShareSettings value)List of Projects/Folders to share with.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Parameter | |
|---|---|
| Name | Description |
value |
ShareSettings |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setShareSettings(ShareSettings.Builder builderForValue)
public FutureReservation.Builder setShareSettings(ShareSettings.Builder builderForValue)List of Projects/Folders to share with.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ShareSettings.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setSpecificReservationRequired(boolean value)
public FutureReservation.Builder setSpecificReservationRequired(boolean value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe specificReservationRequired to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setSpecificSkuProperties(FutureReservationSpecificSKUProperties value)
public FutureReservation.Builder setSpecificSkuProperties(FutureReservationSpecificSKUProperties value)Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationSpecificSKUProperties |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setSpecificSkuProperties(FutureReservationSpecificSKUProperties.Builder builderForValue)
public FutureReservation.Builder setSpecificSkuProperties(FutureReservationSpecificSKUProperties.Builder builderForValue)Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureReservationSpecificSKUProperties.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setStatus(FutureReservationStatus value)
public FutureReservation.Builder setStatus(FutureReservationStatus value)Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationStatus |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setStatus(FutureReservationStatus.Builder builderForValue)
public FutureReservation.Builder setStatus(FutureReservationStatus.Builder builderForValue)Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureReservationStatus.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setTimeWindow(FutureReservationTimeWindow value)
public FutureReservation.Builder setTimeWindow(FutureReservationTimeWindow value)Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
| Parameter | |
|---|---|
| Name | Description |
value |
FutureReservationTimeWindow |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setTimeWindow(FutureReservationTimeWindow.Builder builderForValue)
public FutureReservation.Builder setTimeWindow(FutureReservationTimeWindow.Builder builderForValue)Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
FutureReservationTimeWindow.Builder |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final FutureReservation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
|
setZone(String value)
public FutureReservation.Builder setZone(String value)Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public FutureReservation.Builder setZoneBytes(ByteString value)Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
FutureReservation.Builder |
This builder for chaining. |