Package com.google.cloud.compute.v1
Class FutureReservation.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
com.google.cloud.compute.v1.FutureReservation.Builder
- All Implemented Interfaces:
FutureReservationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FutureReservation
public static final class FutureReservation.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
implements FutureReservationOrBuilder
Protobuf type
google.cloud.compute.v1.FutureReservation-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Aggregate reservation details for the future reservation.Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.Specifies the duration of auto-created reservations.Setting for enabling or disabling automatic deletion for auto-created reservation.If not present, then FR will not deliver a new commitment or update an existing commitment.Check the ConfidentialComputeType enum for the list of possible values.Output only.Type of the deployment requested as part of future reservation.An optional description of this resource.Indicates if this group of VMs have emergent maintenance enabled.clearId()Output only.Output only.The name of the resource, provided by the client when initially creating the resource.Name prefix for the reservations to be created at the time of delivery.Input only.Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.The reservation mode which determines reservation-termination behavior and expected pricing.Name of reservations where the capacity is provisioned at the time of delivery of future reservations.Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.Output only.Output only.List of Projects/Folders to share with.Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation.Future Reservation configuration to indicate instance properties and total count.Output only.Time window for this Future Reservation.Output only.Aggregate reservation details for the future reservation.Aggregate reservation details for the future reservation.Aggregate reservation details for the future reservation.Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.com.google.protobuf.ByteStringFuture timestamp when the FR auto-created reservations will be deleted by Compute Engine.Specifies the duration of auto-created reservations.Specifies the duration of auto-created reservations.Specifies the duration of auto-created reservations.booleanSetting for enabling or disabling automatic deletion for auto-created reservation.If not present, then FR will not deliver a new commitment or update an existing commitment.If not present, then FR will not deliver a new commitment or update an existing commitment.If not present, then FR will not deliver a new commitment or update an existing commitment.Check the ConfidentialComputeType enum for the list of possible values.com.google.protobuf.ByteStringCheck the ConfidentialComputeType enum for the list of possible values.Output only.com.google.protobuf.ByteStringOutput only.Type of the deployment requested as part of future reservation.com.google.protobuf.ByteStringType of the deployment requested as part of future reservation.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanIndicates if this group of VMs have emergent maintenance enabled.longgetId()Output only.getKind()Output only.com.google.protobuf.ByteStringOutput only.getName()The name of the resource, provided by the client when initially creating the resource.com.google.protobuf.ByteStringThe name of the resource, provided by the client when initially creating the resource.Name prefix for the reservations to be created at the time of delivery.com.google.protobuf.ByteStringName prefix for the reservations to be created at the time of delivery.Input only.Input only.Input only.Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.com.google.protobuf.ByteStringPlanning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.The reservation mode which determines reservation-termination behavior and expected pricing.com.google.protobuf.ByteStringThe reservation mode which determines reservation-termination behavior and expected pricing.Name of reservations where the capacity is provisioned at the time of delivery of future reservations.com.google.protobuf.ByteStringName of reservations where the capacity is provisioned at the time of delivery of future reservations.Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.com.google.protobuf.ByteStringMaintenance information for this reservation Check the SchedulingType enum for the list of possible values.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.List of Projects/Folders to share with.List of Projects/Folders to share with.List of Projects/Folders to share with.booleanIndicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation.Future Reservation configuration to indicate instance properties and total count.Future Reservation configuration to indicate instance properties and total count.Future Reservation configuration to indicate instance properties and total count.Output only.Output only.Output only.Time window for this Future Reservation.Time window for this Future Reservation.Time window for this Future Reservation.getZone()Output only.com.google.protobuf.ByteStringOutput only.booleanAggregate reservation details for the future reservation.booleanFuture timestamp when the FR auto-created reservations will be deleted by Compute Engine.booleanSpecifies the duration of auto-created reservations.booleanSetting for enabling or disabling automatic deletion for auto-created reservation.booleanIf not present, then FR will not deliver a new commitment or update an existing commitment.booleanCheck the ConfidentialComputeType enum for the list of possible values.booleanOutput only.booleanType of the deployment requested as part of future reservation.booleanAn optional description of this resource.booleanIndicates if this group of VMs have emergent maintenance enabled.booleanhasId()Output only.booleanhasKind()Output only.booleanhasName()The name of the resource, provided by the client when initially creating the resource.booleanName prefix for the reservations to be created at the time of delivery.booleanInput only.booleanPlanning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.booleanThe reservation mode which determines reservation-termination behavior and expected pricing.booleanName of reservations where the capacity is provisioned at the time of delivery of future reservations.booleanMaintenance information for this reservation Check the SchedulingType enum for the list of possible values.booleanOutput only.booleanOutput only.booleanList of Projects/Folders to share with.booleanIndicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation.booleanFuture Reservation configuration to indicate instance properties and total count.booleanOutput only.booleanTime window for this Future Reservation.booleanhasZone()Output only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanAggregate reservation details for the future reservation.Specifies the duration of auto-created reservations.If not present, then FR will not deliver a new commitment or update an existing commitment.mergeFrom(FutureReservation other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Input only.mergeShareSettings(ShareSettings value) List of Projects/Folders to share with.Future Reservation configuration to indicate instance properties and total count.Output only.Time window for this Future Reservation.Aggregate reservation details for the future reservation.setAggregateReservation(AllocationAggregateReservation.Builder builderForValue) Aggregate reservation details for the future reservation.Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.setAutoCreatedReservationsDeleteTimeBytes(com.google.protobuf.ByteString value) Future timestamp when the FR auto-created reservations will be deleted by Compute Engine.Specifies the duration of auto-created reservations.setAutoCreatedReservationsDuration(Duration.Builder builderForValue) Specifies the duration of auto-created reservations.setAutoDeleteAutoCreatedReservations(boolean value) Setting for enabling or disabling automatic deletion for auto-created reservation.If not present, then FR will not deliver a new commitment or update an existing commitment.setCommitmentInfo(FutureReservationCommitmentInfo.Builder builderForValue) If not present, then FR will not deliver a new commitment or update an existing commitment.setConfidentialComputeType(String value) Check the ConfidentialComputeType enum for the list of possible values.setConfidentialComputeTypeBytes(com.google.protobuf.ByteString value) Check the ConfidentialComputeType enum for the list of possible values.setCreationTimestamp(String value) Output only.setCreationTimestampBytes(com.google.protobuf.ByteString value) Output only.setDeploymentType(String value) Type of the deployment requested as part of future reservation.setDeploymentTypeBytes(com.google.protobuf.ByteString value) Type of the deployment requested as part of future reservation.setDescription(String value) An optional description of this resource.setDescriptionBytes(com.google.protobuf.ByteString value) An optional description of this resource.setEnableEmergentMaintenance(boolean value) Indicates if this group of VMs have emergent maintenance enabled.setId(long value) Output only.Output only.setKindBytes(com.google.protobuf.ByteString value) Output only.The name of the resource, provided by the client when initially creating the resource.setNameBytes(com.google.protobuf.ByteString value) The name of the resource, provided by the client when initially creating the resource.setNamePrefix(String value) Name prefix for the reservations to be created at the time of delivery.setNamePrefixBytes(com.google.protobuf.ByteString value) Name prefix for the reservations to be created at the time of delivery.setParams(FutureReservationParams value) Input only.setParams(FutureReservationParams.Builder builderForValue) Input only.setPlanningStatus(String value) Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.setPlanningStatusBytes(com.google.protobuf.ByteString value) Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.setReservationMode(String value) The reservation mode which determines reservation-termination behavior and expected pricing.setReservationModeBytes(com.google.protobuf.ByteString value) The reservation mode which determines reservation-termination behavior and expected pricing.setReservationName(String value) Name of reservations where the capacity is provisioned at the time of delivery of future reservations.setReservationNameBytes(com.google.protobuf.ByteString value) Name of reservations where the capacity is provisioned at the time of delivery of future reservations.setSchedulingType(String value) Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.setSchedulingTypeBytes(com.google.protobuf.ByteString value) Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.setSelfLink(String value) Output only.setSelfLinkBytes(com.google.protobuf.ByteString value) Output only.setSelfLinkWithId(String value) Output only.setSelfLinkWithIdBytes(com.google.protobuf.ByteString value) Output only.setShareSettings(ShareSettings value) List of Projects/Folders to share with.setShareSettings(ShareSettings.Builder builderForValue) List of Projects/Folders to share with.setSpecificReservationRequired(boolean value) Indicates whether the auto-created reservation can be consumed by VMs with affinity for "any" reservation.Future Reservation configuration to indicate instance properties and total count.setSpecificSkuProperties(FutureReservationSpecificSKUProperties.Builder builderForValue) Future Reservation configuration to indicate instance properties and total count.setStatus(FutureReservationStatus value) Output only.setStatus(FutureReservationStatus.Builder builderForValue) Output only.Time window for this Future Reservation.setTimeWindow(FutureReservationTimeWindow.Builder builderForValue) Time window for this Future Reservation.Output only.setZoneBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservation.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FutureReservation.Builder>
-
mergeFrom
public FutureReservation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FutureReservation.Builder>- Throws:
IOException
-
hasAggregateReservation
public boolean hasAggregateReservation()Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;- Specified by:
hasAggregateReservationin interfaceFutureReservationOrBuilder- Returns:
- Whether the aggregateReservation field is set.
-
getAggregateReservation
Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;- Specified by:
getAggregateReservationin interfaceFutureReservationOrBuilder- Returns:
- The aggregateReservation.
-
setAggregateReservation
Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948; -
setAggregateReservation
public FutureReservation.Builder setAggregateReservation(AllocationAggregateReservation.Builder builderForValue) Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948; -
mergeAggregateReservation
Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948; -
clearAggregateReservation
Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948; -
getAggregateReservationBuilder
Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948; -
getAggregateReservationOrBuilder
Aggregate reservation details for the future reservation.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;- Specified by:
getAggregateReservationOrBuilderin interfaceFutureReservationOrBuilder
-
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;- Specified by:
hasAutoCreatedReservationsDeleteTimein interfaceFutureReservationOrBuilder- Returns:
- Whether the autoCreatedReservationsDeleteTime field is set.
-
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;- Specified by:
getAutoCreatedReservationsDeleteTimein interfaceFutureReservationOrBuilder- Returns:
- The autoCreatedReservationsDeleteTime.
-
getAutoCreatedReservationsDeleteTimeBytes
public com.google.protobuf.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;- Specified by:
getAutoCreatedReservationsDeleteTimeBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for autoCreatedReservationsDeleteTime.
-
setAutoCreatedReservationsDeleteTime
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;- Parameters:
value- The autoCreatedReservationsDeleteTime to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setAutoCreatedReservationsDeleteTimeBytes
public FutureReservation.Builder setAutoCreatedReservationsDeleteTimeBytes(com.google.protobuf.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;- Parameters:
value- The bytes for autoCreatedReservationsDeleteTime to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasAutoCreatedReservationsDurationin interfaceFutureReservationOrBuilder- Returns:
- Whether the autoCreatedReservationsDuration field is set.
-
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;- Specified by:
getAutoCreatedReservationsDurationin interfaceFutureReservationOrBuilder- Returns:
- The autoCreatedReservationsDuration.
-
setAutoCreatedReservationsDuration
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; -
setAutoCreatedReservationsDuration
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; -
mergeAutoCreatedReservationsDuration
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; -
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; -
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; -
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;- Specified by:
getAutoCreatedReservationsDurationOrBuilderin interfaceFutureReservationOrBuilder
-
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;- Specified by:
hasAutoDeleteAutoCreatedReservationsin interfaceFutureReservationOrBuilder- Returns:
- Whether the autoDeleteAutoCreatedReservations field is set.
-
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;- Specified by:
getAutoDeleteAutoCreatedReservationsin interfaceFutureReservationOrBuilder- Returns:
- The autoDeleteAutoCreatedReservations.
-
setAutoDeleteAutoCreatedReservations
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;- Parameters:
value- The autoDeleteAutoCreatedReservations to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasCommitmentInfoin interfaceFutureReservationOrBuilder- Returns:
- Whether the commitmentInfo field is set.
-
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;- Specified by:
getCommitmentInfoin interfaceFutureReservationOrBuilder- Returns:
- The commitmentInfo.
-
setCommitmentInfo
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; -
setCommitmentInfo
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; -
mergeCommitmentInfo
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; -
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; -
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; -
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;- Specified by:
getCommitmentInfoOrBuilderin interfaceFutureReservationOrBuilder
-
hasConfidentialComputeType
public boolean hasConfidentialComputeType()Check the ConfidentialComputeType enum for the list of possible values.
optional string confidential_compute_type = 386447257;- Specified by:
hasConfidentialComputeTypein interfaceFutureReservationOrBuilder- Returns:
- Whether the confidentialComputeType field is set.
-
getConfidentialComputeType
Check the ConfidentialComputeType enum for the list of possible values.
optional string confidential_compute_type = 386447257;- Specified by:
getConfidentialComputeTypein interfaceFutureReservationOrBuilder- Returns:
- The confidentialComputeType.
-
getConfidentialComputeTypeBytes
public com.google.protobuf.ByteString getConfidentialComputeTypeBytes()Check the ConfidentialComputeType enum for the list of possible values.
optional string confidential_compute_type = 386447257;- Specified by:
getConfidentialComputeTypeBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for confidentialComputeType.
-
setConfidentialComputeType
Check the ConfidentialComputeType enum for the list of possible values.
optional string confidential_compute_type = 386447257;- Parameters:
value- The confidentialComputeType to set.- Returns:
- This builder for chaining.
-
clearConfidentialComputeType
Check the ConfidentialComputeType enum for the list of possible values.
optional string confidential_compute_type = 386447257;- Returns:
- This builder for chaining.
-
setConfidentialComputeTypeBytes
public FutureReservation.Builder setConfidentialComputeTypeBytes(com.google.protobuf.ByteString value) Check the ConfidentialComputeType enum for the list of possible values.
optional string confidential_compute_type = 386447257;- Parameters:
value- The bytes for confidentialComputeType to set.- Returns:
- This builder for chaining.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfaceFutureReservationOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfaceFutureReservationOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for creationTimestamp.
-
setCreationTimestamp
Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The creationTimestamp to set.- Returns:
- This builder for chaining.
-
clearCreationTimestamp
Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- This builder for chaining.
-
setCreationTimestampBytes
Output only. [Output Only] The creation timestamp for this future reservation inRFC3339 text format.
optional string creation_timestamp = 30525366;- Parameters:
value- The bytes for creationTimestamp to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasDeploymentTypein interfaceFutureReservationOrBuilder- Returns:
- Whether the deploymentType field is set.
-
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;- Specified by:
getDeploymentTypein interfaceFutureReservationOrBuilder- Returns:
- The deploymentType.
-
getDeploymentTypeBytes
public com.google.protobuf.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;- Specified by:
getDeploymentTypeBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for deploymentType.
-
setDeploymentType
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;- Parameters:
value- The deploymentType to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setDeploymentTypeBytes
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;- Parameters:
value- The bytes for deploymentType to set.- Returns:
- This builder for chaining.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;- Specified by:
hasDescriptionin interfaceFutureReservationOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;- Specified by:
getDescriptionin interfaceFutureReservationOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for description.
-
setDescription
An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;- Returns:
- This builder for chaining.
-
setDescriptionBytes
An optional description of this resource. Provide this property when you create the future reservation.
optional string description = 422937596;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
hasEnableEmergentMaintenance
public boolean hasEnableEmergentMaintenance()Indicates if this group of VMs have emergent maintenance enabled.
optional bool enable_emergent_maintenance = 353759497;- Specified by:
hasEnableEmergentMaintenancein interfaceFutureReservationOrBuilder- Returns:
- Whether the enableEmergentMaintenance field is set.
-
getEnableEmergentMaintenance
public boolean getEnableEmergentMaintenance()Indicates if this group of VMs have emergent maintenance enabled.
optional bool enable_emergent_maintenance = 353759497;- Specified by:
getEnableEmergentMaintenancein interfaceFutureReservationOrBuilder- Returns:
- The enableEmergentMaintenance.
-
setEnableEmergentMaintenance
Indicates if this group of VMs have emergent maintenance enabled.
optional bool enable_emergent_maintenance = 353759497;- Parameters:
value- The enableEmergentMaintenance to set.- Returns:
- This builder for chaining.
-
clearEnableEmergentMaintenance
Indicates if this group of VMs have emergent maintenance enabled.
optional bool enable_emergent_maintenance = 353759497;- Returns:
- This builder for chaining.
-
hasId
public boolean hasId()Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.
optional uint64 id = 3355;- Specified by:
hasIdin interfaceFutureReservationOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfaceFutureReservationOrBuilder- Returns:
- The id.
-
setId
Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.
optional uint64 id = 3355;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Output only. [Output Only] A unique identifier for this future reservation. The server defines this identifier.
optional uint64 id = 3355;- Returns:
- This builder for chaining.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;- Specified by:
hasKindin interfaceFutureReservationOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;- Specified by:
getKindin interfaceFutureReservationOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;- Specified by:
getKindBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for kind.
-
setKind
Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;- Parameters:
value- The kind to set.- Returns:
- This builder for chaining.
-
clearKind
Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;- Returns:
- This builder for chaining.
-
setKindBytes
Output only. [Output Only] Type of the resource. Alwayscompute#futureReservation for future reservations.
optional string kind = 3292052;- Parameters:
value- The bytes for kind to set.- Returns:
- This builder for chaining.
-
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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
hasNamein interfaceFutureReservationOrBuilder- Returns:
- Whether the name field is set.
-
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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
getNamein interfaceFutureReservationOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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]([-a-z0-9]*[a-z0-9])?` 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;- Specified by:
getNameBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for name.
-
setName
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]([-a-z0-9]*[a-z0-9])?` 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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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]([-a-z0-9]*[a-z0-9])?` 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:
- This builder for chaining.
-
setNameBytes
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]([-a-z0-9]*[a-z0-9])?` 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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasNamePrefixin interfaceFutureReservationOrBuilder- Returns:
- Whether the namePrefix field is set.
-
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;- Specified by:
getNamePrefixin interfaceFutureReservationOrBuilder- Returns:
- The namePrefix.
-
getNamePrefixBytes
public com.google.protobuf.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;- Specified by:
getNamePrefixBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for namePrefix.
-
setNamePrefix
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;- Parameters:
value- The namePrefix to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNamePrefixBytes
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;- Parameters:
value- The bytes for namePrefix to set.- Returns:
- This builder for chaining.
-
hasParams
public boolean hasParams()Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;- Specified by:
hasParamsin interfaceFutureReservationOrBuilder- Returns:
- Whether the params field is set.
-
getParams
Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;- Specified by:
getParamsin interfaceFutureReservationOrBuilder- Returns:
- The params.
-
setParams
Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862; -
setParams
Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862; -
mergeParams
Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862; -
clearParams
Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862; -
getParamsBuilder
Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862; -
getParamsOrBuilder
Input only. Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.FutureReservationParams params = 78313862;- Specified by:
getParamsOrBuilderin interfaceFutureReservationOrBuilder
-
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;- Specified by:
hasPlanningStatusin interfaceFutureReservationOrBuilder- Returns:
- Whether the planningStatus field is set.
-
getPlanningStatus
Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.
optional string planning_status = 19714836;- Specified by:
getPlanningStatusin interfaceFutureReservationOrBuilder- Returns:
- The planningStatus.
-
getPlanningStatusBytes
public com.google.protobuf.ByteString getPlanningStatusBytes()Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.
optional string planning_status = 19714836;- Specified by:
getPlanningStatusBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for planningStatus.
-
setPlanningStatus
Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.
optional string planning_status = 19714836;- Parameters:
value- The planningStatus to set.- Returns:
- This builder for chaining.
-
clearPlanningStatus
Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.
optional string planning_status = 19714836;- Returns:
- This builder for chaining.
-
setPlanningStatusBytes
Planning state before being submitted for evaluation Check the PlanningStatus enum for the list of possible values.
optional string planning_status = 19714836;- Parameters:
value- The bytes for planningStatus to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasReservationModein interfaceFutureReservationOrBuilder- Returns:
- Whether the reservationMode field is set.
-
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;- Specified by:
getReservationModein interfaceFutureReservationOrBuilder- Returns:
- The reservationMode.
-
getReservationModeBytes
public com.google.protobuf.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;- Specified by:
getReservationModeBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for reservationMode.
-
setReservationMode
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;- Parameters:
value- The reservationMode to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setReservationModeBytes
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;- Parameters:
value- The bytes for reservationMode to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasReservationNamein interfaceFutureReservationOrBuilder- Returns:
- Whether the reservationName field is set.
-
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;- Specified by:
getReservationNamein interfaceFutureReservationOrBuilder- Returns:
- The reservationName.
-
getReservationNameBytes
public com.google.protobuf.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;- Specified by:
getReservationNameBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for reservationName.
-
setReservationName
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;- Parameters:
value- The reservationName to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setReservationNameBytes
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;- Parameters:
value- The bytes for reservationName to set.- Returns:
- This builder for chaining.
-
hasSchedulingType
public boolean hasSchedulingType()Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Specified by:
hasSchedulingTypein interfaceFutureReservationOrBuilder- Returns:
- Whether the schedulingType field is set.
-
getSchedulingType
Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Specified by:
getSchedulingTypein interfaceFutureReservationOrBuilder- Returns:
- The schedulingType.
-
getSchedulingTypeBytes
public com.google.protobuf.ByteString getSchedulingTypeBytes()Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Specified by:
getSchedulingTypeBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for schedulingType.
-
setSchedulingType
Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Parameters:
value- The schedulingType to set.- Returns:
- This builder for chaining.
-
clearSchedulingType
Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Returns:
- This builder for chaining.
-
setSchedulingTypeBytes
Maintenance information for this reservation Check the SchedulingType enum for the list of possible values.
optional string scheduling_type = 199835397;- Parameters:
value- The bytes for schedulingType to set.- Returns:
- This builder for chaining.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfaceFutureReservationOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfaceFutureReservationOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for selfLink.
-
setSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The selfLink to set.- Returns:
- This builder for chaining.
-
clearSelfLink
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Returns:
- This builder for chaining.
-
setSelfLinkBytes
Output only. [Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;- Parameters:
value- The bytes for selfLink to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasSelfLinkWithIdin interfaceFutureReservationOrBuilder- Returns:
- Whether the selfLinkWithId field is set.
-
getSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdin interfaceFutureReservationOrBuilder- Returns:
- The selfLinkWithId.
-
getSelfLinkWithIdBytes
public com.google.protobuf.ByteString getSelfLinkWithIdBytes()Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Specified by:
getSelfLinkWithIdBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for selfLinkWithId.
-
setSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The selfLinkWithId to set.- Returns:
- This builder for chaining.
-
clearSelfLinkWithId
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Returns:
- This builder for chaining.
-
setSelfLinkWithIdBytes
Output only. [Output Only] Server-defined URL for this resource with the resource id.
optional string self_link_with_id = 44520962;- Parameters:
value- The bytes for selfLinkWithId to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
hasSpecificReservationRequiredin interfaceFutureReservationOrBuilder- Returns:
- Whether the specificReservationRequired field is set.
-
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;- Specified by:
getSpecificReservationRequiredin interfaceFutureReservationOrBuilder- Returns:
- The specificReservationRequired.
-
setSpecificReservationRequired
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;- Parameters:
value- The specificReservationRequired to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasSpecificSkuProperties
public boolean hasSpecificSkuProperties()Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;- Specified by:
hasSpecificSkuPropertiesin interfaceFutureReservationOrBuilder- Returns:
- Whether the specificSkuProperties field is set.
-
getSpecificSkuProperties
Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;- Specified by:
getSpecificSkuPropertiesin interfaceFutureReservationOrBuilder- Returns:
- The specificSkuProperties.
-
setSpecificSkuProperties
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; -
setSpecificSkuProperties
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; -
mergeSpecificSkuProperties
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; -
clearSpecificSkuProperties
Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106; -
getSpecificSkuPropertiesBuilder
Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106; -
getSpecificSkuPropertiesOrBuilder
Future Reservation configuration to indicate instance properties and total count.
optional .google.cloud.compute.v1.FutureReservationSpecificSKUProperties specific_sku_properties = 108887106;- Specified by:
getSpecificSkuPropertiesOrBuilderin interfaceFutureReservationOrBuilder
-
hasStatus
public boolean hasStatus()Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;- Specified by:
hasStatusin interfaceFutureReservationOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;- Specified by:
getStatusin interfaceFutureReservationOrBuilder- Returns:
- The status.
-
setStatus
Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274; -
setStatus
Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274; -
mergeStatus
Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274; -
clearStatus
Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274; -
getStatusBuilder
Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274; -
getStatusOrBuilder
Output only. [Output only] Status of the Future Reservation
optional .google.cloud.compute.v1.FutureReservationStatus status = 181260274;- Specified by:
getStatusOrBuilderin interfaceFutureReservationOrBuilder
-
hasTimeWindow
public boolean hasTimeWindow()Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;- Specified by:
hasTimeWindowin interfaceFutureReservationOrBuilder- Returns:
- Whether the timeWindow field is set.
-
getTimeWindow
Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;- Specified by:
getTimeWindowin interfaceFutureReservationOrBuilder- Returns:
- The timeWindow.
-
setTimeWindow
Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074; -
setTimeWindow
Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074; -
mergeTimeWindow
Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074; -
clearTimeWindow
Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074; -
getTimeWindowBuilder
Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074; -
getTimeWindowOrBuilder
Time window for this Future Reservation.
optional .google.cloud.compute.v1.FutureReservationTimeWindow time_window = 422983074;- Specified by:
getTimeWindowOrBuilderin interfaceFutureReservationOrBuilder
-
hasZone
public boolean hasZone()Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;- Specified by:
hasZonein interfaceFutureReservationOrBuilder- Returns:
- Whether the zone field is set.
-
getZone
Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;- Specified by:
getZonein interfaceFutureReservationOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;- Specified by:
getZoneBytesin interfaceFutureReservationOrBuilder- Returns:
- The bytes for zone.
-
setZone
Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;- Returns:
- This builder for chaining.
-
setZoneBytes
Output only. [Output Only] URL of the Zone where this future reservation resides.
optional string zone = 3744684;- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-