Package com.google.cloud.compute.v1
Class FutureReservation
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.FutureReservation
- All Implemented Interfaces:
FutureReservationOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class FutureReservation
extends com.google.protobuf.GeneratedMessage
implements FutureReservationOrBuilder
Protobuf type
google.cloud.compute.v1.FutureReservation- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic enumstatic enumType of the deployment requested as part of future reservation.static enumPlanning state before being submitted for evaluationstatic enumThe reservation mode which determines reservation-termination behavior and expected pricing.static enumMaintenance information for this reservationNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanAggregate 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.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.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.static FutureReservationType 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.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.com.google.protobuf.Parser<FutureReservation>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.intList 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.Output only.Output only.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.inthashCode()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 booleanstatic FutureReservation.Builderstatic FutureReservation.BuildernewBuilder(FutureReservation prototype) protected FutureReservation.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static FutureReservationparseDelimitedFrom(InputStream input) static FutureReservationparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FutureReservationparseFrom(byte[] data) static FutureReservationparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FutureReservationparseFrom(com.google.protobuf.ByteString data) static FutureReservationparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FutureReservationparseFrom(com.google.protobuf.CodedInputStream input) static FutureReservationparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FutureReservationparseFrom(InputStream input) static FutureReservationparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static FutureReservationparseFrom(ByteBuffer data) static FutureReservationparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<FutureReservation>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
AGGREGATE_RESERVATION_FIELD_NUMBER
public static final int AGGREGATE_RESERVATION_FIELD_NUMBER- See Also:
-
AUTO_CREATED_RESERVATIONS_DELETE_TIME_FIELD_NUMBER
public static final int AUTO_CREATED_RESERVATIONS_DELETE_TIME_FIELD_NUMBER- See Also:
-
AUTO_CREATED_RESERVATIONS_DURATION_FIELD_NUMBER
public static final int AUTO_CREATED_RESERVATIONS_DURATION_FIELD_NUMBER- See Also:
-
AUTO_DELETE_AUTO_CREATED_RESERVATIONS_FIELD_NUMBER
public static final int AUTO_DELETE_AUTO_CREATED_RESERVATIONS_FIELD_NUMBER- See Also:
-
COMMITMENT_INFO_FIELD_NUMBER
public static final int COMMITMENT_INFO_FIELD_NUMBER- See Also:
-
CONFIDENTIAL_COMPUTE_TYPE_FIELD_NUMBER
public static final int CONFIDENTIAL_COMPUTE_TYPE_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
DEPLOYMENT_TYPE_FIELD_NUMBER
public static final int DEPLOYMENT_TYPE_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
ENABLE_EMERGENT_MAINTENANCE_FIELD_NUMBER
public static final int ENABLE_EMERGENT_MAINTENANCE_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
NAME_PREFIX_FIELD_NUMBER
public static final int NAME_PREFIX_FIELD_NUMBER- See Also:
-
PARAMS_FIELD_NUMBER
public static final int PARAMS_FIELD_NUMBER- See Also:
-
PLANNING_STATUS_FIELD_NUMBER
public static final int PLANNING_STATUS_FIELD_NUMBER- See Also:
-
RESERVATION_MODE_FIELD_NUMBER
public static final int RESERVATION_MODE_FIELD_NUMBER- See Also:
-
RESERVATION_NAME_FIELD_NUMBER
public static final int RESERVATION_NAME_FIELD_NUMBER- See Also:
-
SCHEDULING_TYPE_FIELD_NUMBER
public static final int SCHEDULING_TYPE_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
SELF_LINK_WITH_ID_FIELD_NUMBER
public static final int SELF_LINK_WITH_ID_FIELD_NUMBER- See Also:
-
SHARE_SETTINGS_FIELD_NUMBER
public static final int SHARE_SETTINGS_FIELD_NUMBER- See Also:
-
SPECIFIC_RESERVATION_REQUIRED_FIELD_NUMBER
public static final int SPECIFIC_RESERVATION_REQUIRED_FIELD_NUMBER- See Also:
-
SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER
public static final int SPECIFIC_SKU_PROPERTIES_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
TIME_WINDOW_FIELD_NUMBER
public static final int TIME_WINDOW_FIELD_NUMBER- See Also:
-
ZONE_FIELD_NUMBER
public static final int ZONE_FIELD_NUMBER- See Also:
-
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static FutureReservation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FutureReservation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FutureReservation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FutureReservation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FutureReservation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FutureReservation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static FutureReservation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static FutureReservation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static FutureReservation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static FutureReservation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FutureReservation.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-