public interface ReservationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsResourcePolicies(String key)
Resource policies to be added to this reservation.
|
AllocationAggregateReservation |
getAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
|
AllocationAggregateReservationOrBuilder |
getAggregateReservationOrBuilder()
Reservation for aggregated resources, providing shape flexibility.
|
String |
getCommitment()
[Output Only] Full or partial URL to a parent commitment.
|
com.google.protobuf.ByteString |
getCommitmentBytes()
[Output Only] Full or partial URL to a parent commitment.
|
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
com.google.protobuf.ByteString |
getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
|
Duration |
getDeleteAfterDuration()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
DurationOrBuilder |
getDeleteAfterDurationOrBuilder()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
String |
getDeleteAtTime()
Absolute time in future when the reservation will be auto-deleted by Compute Engine.
|
com.google.protobuf.ByteString |
getDeleteAtTimeBytes()
Absolute time in future when the reservation will be auto-deleted by Compute Engine.
|
String |
getDeploymentType()
Specifies the deployment strategy for this reservation.
|
com.google.protobuf.ByteString |
getDeploymentTypeBytes()
Specifies the deployment strategy for this reservation.
|
String |
getDescription()
An optional description of this resource.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
An optional description of this resource.
|
boolean |
getEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
|
long |
getId()
[Output Only] The unique identifier for the resource.
|
String |
getKind()
[Output Only] Type of the resource.
|
com.google.protobuf.ByteString |
getKindBytes()
[Output Only] Type of the resource.
|
String |
getLinkedCommitments(int index)
[Output Only] Full or partial URL to parent commitments.
|
com.google.protobuf.ByteString |
getLinkedCommitmentsBytes(int index)
[Output Only] Full or partial URL to parent commitments.
|
int |
getLinkedCommitmentsCount()
[Output Only] Full or partial URL to parent commitments.
|
List<String> |
getLinkedCommitmentsList()
[Output Only] Full or partial URL to parent commitments.
|
String |
getName()
The name of the resource, provided by the client when initially creating the resource.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the resource, provided by the client when initially creating the resource.
|
AllocationReservationSharingPolicy |
getReservationSharingPolicy()
Specify the reservation sharing policy.
|
AllocationReservationSharingPolicyOrBuilder |
getReservationSharingPolicyOrBuilder()
Specify the reservation sharing policy.
|
Map<String,String> |
getResourcePolicies()
Deprecated.
|
int |
getResourcePoliciesCount()
Resource policies to be added to this reservation.
|
Map<String,String> |
getResourcePoliciesMap()
Resource policies to be added to this reservation.
|
String |
getResourcePoliciesOrDefault(String key,
String defaultValue)
Resource policies to be added to this reservation.
|
String |
getResourcePoliciesOrThrow(String key)
Resource policies to be added to this reservation.
|
AllocationResourceStatus |
getResourceStatus()
[Output Only] Status information for Reservation resource.
|
AllocationResourceStatusOrBuilder |
getResourceStatusOrBuilder()
[Output Only] Status information for Reservation resource.
|
boolean |
getSatisfiesPzs()
[Output Only] Reserved for future use.
|
String |
getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
com.google.protobuf.ByteString |
getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
|
ShareSettings |
getShareSettings()
Specify share-settings to create a shared reservation.
|
ShareSettingsOrBuilder |
getShareSettingsOrBuilder()
Specify share-settings to create a shared reservation.
|
AllocationSpecificSKUReservation |
getSpecificReservation()
Reservation for instances with specific machine shapes.
|
AllocationSpecificSKUReservationOrBuilder |
getSpecificReservationOrBuilder()
Reservation for instances with specific machine shapes.
|
boolean |
getSpecificReservationRequired()
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
|
String |
getStatus()
[Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress.
|
com.google.protobuf.ByteString |
getStatusBytes()
[Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress.
|
String |
getZone()
Zone in which the reservation resides.
|
com.google.protobuf.ByteString |
getZoneBytes()
Zone in which the reservation resides.
|
boolean |
hasAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
|
boolean |
hasCommitment()
[Output Only] Full or partial URL to a parent commitment.
|
boolean |
hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
boolean |
hasDeleteAfterDuration()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
boolean |
hasDeleteAtTime()
Absolute time in future when the reservation will be auto-deleted by Compute Engine.
|
boolean |
hasDeploymentType()
Specifies the deployment strategy for this reservation.
|
boolean |
hasDescription()
An optional description of this resource.
|
boolean |
hasEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
|
boolean |
hasId()
[Output Only] The unique identifier for the resource.
|
boolean |
hasKind()
[Output Only] Type of the resource.
|
boolean |
hasName()
The name of the resource, provided by the client when initially creating the resource.
|
boolean |
hasReservationSharingPolicy()
Specify the reservation sharing policy.
|
boolean |
hasResourceStatus()
[Output Only] Status information for Reservation resource.
|
boolean |
hasSatisfiesPzs()
[Output Only] Reserved for future use.
|
boolean |
hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
boolean |
hasShareSettings()
Specify share-settings to create a shared reservation.
|
boolean |
hasSpecificReservation()
Reservation for instances with specific machine shapes.
|
boolean |
hasSpecificReservationRequired()
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
|
boolean |
hasStatus()
[Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress.
|
boolean |
hasZone()
Zone in which the reservation resides.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
AllocationAggregateReservation getAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
AllocationAggregateReservationOrBuilder getAggregateReservationOrBuilder()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
boolean hasCommitment()
[Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
optional string commitment = 482134805;String getCommitment()
[Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
optional string commitment = 482134805;com.google.protobuf.ByteString getCommitmentBytes()
[Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment.
optional string commitment = 482134805;boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;boolean hasDeleteAfterDuration()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;Duration getDeleteAfterDuration()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;DurationOrBuilder getDeleteAfterDurationOrBuilder()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;boolean hasDeleteAtTime()
Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format.
optional string delete_at_time = 83294405;String getDeleteAtTime()
Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format.
optional string delete_at_time = 83294405;com.google.protobuf.ByteString getDeleteAtTimeBytes()
Absolute time in future when the reservation will be auto-deleted by Compute Engine. Timestamp is represented in RFC3339 text format.
optional string delete_at_time = 83294405;boolean hasDeploymentType()
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;String getDeploymentType()
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;com.google.protobuf.ByteString getDeploymentTypeBytes()
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;boolean hasEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
optional bool enable_emergent_maintenance = 353759497;boolean getEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
optional bool enable_emergent_maintenance = 353759497;boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;boolean hasKind()
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;String getKind()
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;List<String> getLinkedCommitmentsList()
[Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.
repeated string linked_commitments = 470957784;int getLinkedCommitmentsCount()
[Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.
repeated string linked_commitments = 470957784;String getLinkedCommitments(int index)
[Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.
repeated string linked_commitments = 470957784;index - The index of the element to return.com.google.protobuf.ByteString getLinkedCommitmentsBytes(int index)
[Output Only] Full or partial URL to parent commitments. This field displays for reservations that are tied to multiple commitments.
repeated string linked_commitments = 470957784;index - The index of the value to return.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 with RFC1035. 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;String getName()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. 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;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 with RFC1035. 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;boolean hasReservationSharingPolicy()
Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services.
optional .google.cloud.compute.v1.AllocationReservationSharingPolicy reservation_sharing_policy = 205970120;
AllocationReservationSharingPolicy getReservationSharingPolicy()
Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services.
optional .google.cloud.compute.v1.AllocationReservationSharingPolicy reservation_sharing_policy = 205970120;
AllocationReservationSharingPolicyOrBuilder getReservationSharingPolicyOrBuilder()
Specify the reservation sharing policy. If unspecified, the reservation will not be shared with Google Cloud managed services.
optional .google.cloud.compute.v1.AllocationReservationSharingPolicy reservation_sharing_policy = 205970120;
int getResourcePoliciesCount()
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
map<string, string> resource_policies = 22220385;boolean containsResourcePolicies(String key)
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
map<string, string> resource_policies = 22220385;@Deprecated Map<String,String> getResourcePolicies()
getResourcePoliciesMap() instead.Map<String,String> getResourcePoliciesMap()
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
map<string, string> resource_policies = 22220385;String getResourcePoliciesOrDefault(String key, String defaultValue)
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
map<string, string> resource_policies = 22220385;String getResourcePoliciesOrThrow(String key)
Resource policies to be added to this reservation. The key is defined by user, and the value is resource policy url. This is to define placement policy with reservation.
map<string, string> resource_policies = 22220385;boolean hasResourceStatus()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
AllocationResourceStatus getResourceStatus()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
AllocationResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;boolean hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;String getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;boolean hasShareSettings()
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;ShareSettings getShareSettings()
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;ShareSettingsOrBuilder getShareSettingsOrBuilder()
Specify share-settings to create a shared reservation. This property is optional. For more information about the syntax and options for this field and its subfields, see the guide for creating a shared reservation.
optional .google.cloud.compute.v1.ShareSettings share_settings = 266668163;boolean hasSpecificReservation()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
AllocationSpecificSKUReservation getSpecificReservation()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
AllocationSpecificSKUReservationOrBuilder getSpecificReservationOrBuilder()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
boolean hasSpecificReservationRequired()
Indicates whether the 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 this reservation.
optional bool specific_reservation_required = 226550687;boolean getSpecificReservationRequired()
Indicates whether the 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 this reservation.
optional bool specific_reservation_required = 226550687;boolean hasStatus()
[Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. Check the Status enum for the list of possible values.
optional string status = 181260274;String getStatus()
[Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. Check the Status enum for the list of possible values.
optional string status = 181260274;com.google.protobuf.ByteString getStatusBytes()
[Output Only] The status of the reservation. - CREATING: Reservation resources are being allocated. - READY: Reservation resources have been allocated, and the reservation is ready for use. - DELETING: Reservation deletion is in progress. - UPDATING: Reservation update is in progress. Check the Status enum for the list of possible values.
optional string status = 181260274;boolean hasZone()
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
optional string zone = 3744684;String getZone()
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
optional string zone = 3744684;com.google.protobuf.ByteString getZoneBytes()
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
optional string zone = 3744684;Copyright © 2025 Google LLC. All rights reserved.