public static final class Reservation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder> implements ReservationOrBuilder
Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources.Protobuf type
google.cloud.compute.v1.Reservation| Modifier and Type | Method and Description |
|---|---|
Reservation.Builder |
addAllLinkedCommitments(Iterable<String> values)
[Output Only] Full or partial URL to parent commitments.
|
Reservation.Builder |
addLinkedCommitments(String value)
[Output Only] Full or partial URL to parent commitments.
|
Reservation.Builder |
addLinkedCommitmentsBytes(com.google.protobuf.ByteString value)
[Output Only] Full or partial URL to parent commitments.
|
Reservation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Reservation |
build() |
Reservation |
buildPartial() |
Reservation.Builder |
clear() |
Reservation.Builder |
clearAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
|
Reservation.Builder |
clearCommitment()
[Output Only] Full or partial URL to a parent commitment.
|
Reservation.Builder |
clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
Reservation.Builder |
clearDeleteAfterDuration()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
Reservation.Builder |
clearDeleteAtTime()
Absolute time in future when the reservation will be auto-deleted by Compute Engine.
|
Reservation.Builder |
clearDeploymentType()
Specifies the deployment strategy for this reservation.
|
Reservation.Builder |
clearDescription()
An optional description of this resource.
|
Reservation.Builder |
clearEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
|
Reservation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Reservation.Builder |
clearId()
[Output Only] The unique identifier for the resource.
|
Reservation.Builder |
clearKind()
[Output Only] Type of the resource.
|
Reservation.Builder |
clearLinkedCommitments()
[Output Only] Full or partial URL to parent commitments.
|
Reservation.Builder |
clearName()
The name of the resource, provided by the client when initially creating the resource.
|
Reservation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Reservation.Builder |
clearReservationSharingPolicy()
Specify the reservation sharing policy.
|
Reservation.Builder |
clearResourcePolicies() |
Reservation.Builder |
clearResourceStatus()
[Output Only] Status information for Reservation resource.
|
Reservation.Builder |
clearSatisfiesPzs()
[Output Only] Reserved for future use.
|
Reservation.Builder |
clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
|
Reservation.Builder |
clearShareSettings()
Specify share-settings to create a shared reservation.
|
Reservation.Builder |
clearSpecificReservation()
Reservation for instances with specific machine shapes.
|
Reservation.Builder |
clearSpecificReservationRequired()
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
|
Reservation.Builder |
clearStatus()
[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.
|
Reservation.Builder |
clearZone()
Zone in which the reservation resides.
|
Reservation.Builder |
clone() |
boolean |
containsResourcePolicies(String key)
Resource policies to be added to this reservation.
|
AllocationAggregateReservation |
getAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
|
AllocationAggregateReservation.Builder |
getAggregateReservationBuilder()
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.
|
Reservation |
getDefaultInstanceForType() |
Duration |
getDeleteAfterDuration()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
Duration.Builder |
getDeleteAfterDurationBuilder()
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.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.
|
com.google.protobuf.ProtocolStringList |
getLinkedCommitmentsList()
[Output Only] Full or partial URL to parent commitments.
|
Map<String,String> |
getMutableResourcePolicies()
Deprecated.
|
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.
|
AllocationReservationSharingPolicy.Builder |
getReservationSharingPolicyBuilder()
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.
|
AllocationResourceStatus.Builder |
getResourceStatusBuilder()
[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.
|
ShareSettings.Builder |
getShareSettingsBuilder()
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.
|
AllocationSpecificSKUReservation.Builder |
getSpecificReservationBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
Reservation.Builder |
mergeAggregateReservation(AllocationAggregateReservation value)
Reservation for aggregated resources, providing shape flexibility.
|
Reservation.Builder |
mergeDeleteAfterDuration(Duration value)
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
Reservation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Reservation.Builder |
mergeFrom(com.google.protobuf.Message other) |
Reservation.Builder |
mergeFrom(Reservation other) |
Reservation.Builder |
mergeReservationSharingPolicy(AllocationReservationSharingPolicy value)
Specify the reservation sharing policy.
|
Reservation.Builder |
mergeResourceStatus(AllocationResourceStatus value)
[Output Only] Status information for Reservation resource.
|
Reservation.Builder |
mergeShareSettings(ShareSettings value)
Specify share-settings to create a shared reservation.
|
Reservation.Builder |
mergeSpecificReservation(AllocationSpecificSKUReservation value)
Reservation for instances with specific machine shapes.
|
Reservation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Reservation.Builder |
putAllResourcePolicies(Map<String,String> values)
Resource policies to be added to this reservation.
|
Reservation.Builder |
putResourcePolicies(String key,
String value)
Resource policies to be added to this reservation.
|
Reservation.Builder |
removeResourcePolicies(String key)
Resource policies to be added to this reservation.
|
Reservation.Builder |
setAggregateReservation(AllocationAggregateReservation.Builder builderForValue)
Reservation for aggregated resources, providing shape flexibility.
|
Reservation.Builder |
setAggregateReservation(AllocationAggregateReservation value)
Reservation for aggregated resources, providing shape flexibility.
|
Reservation.Builder |
setCommitment(String value)
[Output Only] Full or partial URL to a parent commitment.
|
Reservation.Builder |
setCommitmentBytes(com.google.protobuf.ByteString value)
[Output Only] Full or partial URL to a parent commitment.
|
Reservation.Builder |
setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Reservation.Builder |
setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
|
Reservation.Builder |
setDeleteAfterDuration(Duration.Builder builderForValue)
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
Reservation.Builder |
setDeleteAfterDuration(Duration value)
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
|
Reservation.Builder |
setDeleteAtTime(String value)
Absolute time in future when the reservation will be auto-deleted by Compute Engine.
|
Reservation.Builder |
setDeleteAtTimeBytes(com.google.protobuf.ByteString value)
Absolute time in future when the reservation will be auto-deleted by Compute Engine.
|
Reservation.Builder |
setDeploymentType(String value)
Specifies the deployment strategy for this reservation.
|
Reservation.Builder |
setDeploymentTypeBytes(com.google.protobuf.ByteString value)
Specifies the deployment strategy for this reservation.
|
Reservation.Builder |
setDescription(String value)
An optional description of this resource.
|
Reservation.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource.
|
Reservation.Builder |
setEnableEmergentMaintenance(boolean value)
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
|
Reservation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Reservation.Builder |
setId(long value)
[Output Only] The unique identifier for the resource.
|
Reservation.Builder |
setKind(String value)
[Output Only] Type of the resource.
|
Reservation.Builder |
setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource.
|
Reservation.Builder |
setLinkedCommitments(int index,
String value)
[Output Only] Full or partial URL to parent commitments.
|
Reservation.Builder |
setName(String value)
The name of the resource, provided by the client when initially creating the resource.
|
Reservation.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource.
|
Reservation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Reservation.Builder |
setReservationSharingPolicy(AllocationReservationSharingPolicy.Builder builderForValue)
Specify the reservation sharing policy.
|
Reservation.Builder |
setReservationSharingPolicy(AllocationReservationSharingPolicy value)
Specify the reservation sharing policy.
|
Reservation.Builder |
setResourceStatus(AllocationResourceStatus.Builder builderForValue)
[Output Only] Status information for Reservation resource.
|
Reservation.Builder |
setResourceStatus(AllocationResourceStatus value)
[Output Only] Status information for Reservation resource.
|
Reservation.Builder |
setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
|
Reservation.Builder |
setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Reservation.Builder |
setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
|
Reservation.Builder |
setShareSettings(ShareSettings.Builder builderForValue)
Specify share-settings to create a shared reservation.
|
Reservation.Builder |
setShareSettings(ShareSettings value)
Specify share-settings to create a shared reservation.
|
Reservation.Builder |
setSpecificReservation(AllocationSpecificSKUReservation.Builder builderForValue)
Reservation for instances with specific machine shapes.
|
Reservation.Builder |
setSpecificReservation(AllocationSpecificSKUReservation value)
Reservation for instances with specific machine shapes.
|
Reservation.Builder |
setSpecificReservationRequired(boolean value)
Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation.
|
Reservation.Builder |
setStatus(String value)
[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.
|
Reservation.Builder |
setStatusBytes(com.google.protobuf.ByteString value)
[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.
|
Reservation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Reservation.Builder |
setZone(String value)
Zone in which the reservation resides.
|
Reservation.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
Zone in which the reservation resides.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Reservation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Reservation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Reservation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Reservation.Builder>public Reservation.Builder mergeFrom(Reservation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public Reservation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Reservation.Builder>IOExceptionpublic boolean hasAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
hasAggregateReservation in interface ReservationOrBuilderpublic AllocationAggregateReservation getAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
getAggregateReservation in interface ReservationOrBuilderpublic Reservation.Builder setAggregateReservation(AllocationAggregateReservation value)
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
public Reservation.Builder setAggregateReservation(AllocationAggregateReservation.Builder builderForValue)
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
public Reservation.Builder mergeAggregateReservation(AllocationAggregateReservation value)
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
public Reservation.Builder clearAggregateReservation()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
public AllocationAggregateReservation.Builder getAggregateReservationBuilder()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
public AllocationAggregateReservationOrBuilder getAggregateReservationOrBuilder()
Reservation for aggregated resources, providing shape flexibility.
optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
getAggregateReservationOrBuilder in interface ReservationOrBuilderpublic 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;hasCommitment in interface ReservationOrBuilderpublic 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;getCommitment in interface ReservationOrBuilderpublic 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;getCommitmentBytes in interface ReservationOrBuilderpublic Reservation.Builder setCommitment(String value)
[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;value - The commitment to set.public Reservation.Builder clearCommitment()
[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;public Reservation.Builder setCommitmentBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for commitment to set.public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;hasCreationTimestamp in interface ReservationOrBuilderpublic String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestamp in interface ReservationOrBuilderpublic com.google.protobuf.ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;getCreationTimestampBytes in interface ReservationOrBuilderpublic Reservation.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The creationTimestamp to set.public Reservation.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;public Reservation.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;value - The bytes for creationTimestamp to set.public 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;hasDeleteAfterDuration in interface ReservationOrBuilderpublic 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;getDeleteAfterDuration in interface ReservationOrBuilderpublic Reservation.Builder setDeleteAfterDuration(Duration value)
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;public Reservation.Builder setDeleteAfterDuration(Duration.Builder builderForValue)
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;public Reservation.Builder mergeDeleteAfterDuration(Duration value)
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;public Reservation.Builder clearDeleteAfterDuration()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;public Duration.Builder getDeleteAfterDurationBuilder()
Duration time relative to reservation creation when Compute Engine will automatically delete this resource.
optional .google.cloud.compute.v1.Duration delete_after_duration = 323997099;public 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;getDeleteAfterDurationOrBuilder in interface ReservationOrBuilderpublic 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;hasDeleteAtTime in interface ReservationOrBuilderpublic 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;getDeleteAtTime in interface ReservationOrBuilderpublic 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;getDeleteAtTimeBytes in interface ReservationOrBuilderpublic Reservation.Builder setDeleteAtTime(String value)
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;value - The deleteAtTime to set.public Reservation.Builder clearDeleteAtTime()
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;public Reservation.Builder setDeleteAtTimeBytes(com.google.protobuf.ByteString value)
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;value - The bytes for deleteAtTime to set.public boolean hasDeploymentType()
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;hasDeploymentType in interface ReservationOrBuilderpublic String getDeploymentType()
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;getDeploymentType in interface ReservationOrBuilderpublic 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;getDeploymentTypeBytes in interface ReservationOrBuilderpublic Reservation.Builder setDeploymentType(String value)
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;value - The deploymentType to set.public Reservation.Builder clearDeploymentType()
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;public Reservation.Builder setDeploymentTypeBytes(com.google.protobuf.ByteString value)
Specifies the deployment strategy for this reservation. Check the DeploymentType enum for the list of possible values.
optional string deployment_type = 396722292;value - The bytes for deploymentType to set.public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;hasDescription in interface ReservationOrBuilderpublic String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescription in interface ReservationOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;getDescriptionBytes in interface ReservationOrBuilderpublic Reservation.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The description to set.public Reservation.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;public Reservation.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;value - The bytes for description to set.public boolean hasEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
optional bool enable_emergent_maintenance = 353759497;hasEnableEmergentMaintenance in interface ReservationOrBuilderpublic boolean getEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
optional bool enable_emergent_maintenance = 353759497;getEnableEmergentMaintenance in interface ReservationOrBuilderpublic Reservation.Builder setEnableEmergentMaintenance(boolean value)
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
optional bool enable_emergent_maintenance = 353759497;value - The enableEmergentMaintenance to set.public Reservation.Builder clearEnableEmergentMaintenance()
Indicates whether Compute Engine allows unplanned maintenance for your VMs; for example, to fix hardware errors.
optional bool enable_emergent_maintenance = 353759497;public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;hasId in interface ReservationOrBuilderpublic long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;getId in interface ReservationOrBuilderpublic Reservation.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;value - The id to set.public Reservation.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;public boolean hasKind()
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;hasKind in interface ReservationOrBuilderpublic String getKind()
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;getKind in interface ReservationOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;getKindBytes in interface ReservationOrBuilderpublic Reservation.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;value - The kind to set.public Reservation.Builder clearKind()
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;public Reservation.Builder setKindBytes(com.google.protobuf.ByteString value)
[Output Only] Type of the resource. Always compute#reservations for reservations.
optional string kind = 3292052;value - The bytes for kind to set.public com.google.protobuf.ProtocolStringList 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;getLinkedCommitmentsList in interface ReservationOrBuilderpublic 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;getLinkedCommitmentsCount in interface ReservationOrBuilderpublic 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;getLinkedCommitments in interface ReservationOrBuilderindex - The index of the element to return.public 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;getLinkedCommitmentsBytes in interface ReservationOrBuilderindex - The index of the value to return.public Reservation.Builder setLinkedCommitments(int index, String value)
[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 to set the value at.value - The linkedCommitments to set.public Reservation.Builder addLinkedCommitments(String value)
[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;value - The linkedCommitments to add.public Reservation.Builder addAllLinkedCommitments(Iterable<String> values)
[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;values - The linkedCommitments to add.public Reservation.Builder clearLinkedCommitments()
[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;public Reservation.Builder addLinkedCommitmentsBytes(com.google.protobuf.ByteString value)
[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;value - The bytes of the linkedCommitments to add.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 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;hasName in interface ReservationOrBuilderpublic 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;getName in interface ReservationOrBuilderpublic 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;getNameBytes in interface ReservationOrBuilderpublic Reservation.Builder setName(String value)
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply 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;value - The name to set.public Reservation.Builder clearName()
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply 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;public Reservation.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply 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;value - The bytes for name to set.public 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;
hasReservationSharingPolicy in interface ReservationOrBuilderpublic 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;
getReservationSharingPolicy in interface ReservationOrBuilderpublic Reservation.Builder setReservationSharingPolicy(AllocationReservationSharingPolicy value)
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;
public Reservation.Builder setReservationSharingPolicy(AllocationReservationSharingPolicy.Builder builderForValue)
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;
public Reservation.Builder mergeReservationSharingPolicy(AllocationReservationSharingPolicy value)
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;
public Reservation.Builder clearReservationSharingPolicy()
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;
public AllocationReservationSharingPolicy.Builder getReservationSharingPolicyBuilder()
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;
public 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;
getReservationSharingPolicyOrBuilder in interface ReservationOrBuilderpublic int getResourcePoliciesCount()
ReservationOrBuilderResource 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;getResourcePoliciesCount in interface ReservationOrBuilderpublic 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;containsResourcePolicies in interface ReservationOrBuilder@Deprecated public Map<String,String> getResourcePolicies()
getResourcePoliciesMap() instead.getResourcePolicies in interface ReservationOrBuilderpublic 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;getResourcePoliciesMap in interface ReservationOrBuilderpublic 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;getResourcePoliciesOrDefault in interface ReservationOrBuilderpublic 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;getResourcePoliciesOrThrow in interface ReservationOrBuilderpublic Reservation.Builder clearResourcePolicies()
public Reservation.Builder removeResourcePolicies(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 public Map<String,String> getMutableResourcePolicies()
public Reservation.Builder putResourcePolicies(String key, String value)
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;public Reservation.Builder putAllResourcePolicies(Map<String,String> values)
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;public boolean hasResourceStatus()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
hasResourceStatus in interface ReservationOrBuilderpublic AllocationResourceStatus getResourceStatus()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
getResourceStatus in interface ReservationOrBuilderpublic Reservation.Builder setResourceStatus(AllocationResourceStatus value)
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
public Reservation.Builder setResourceStatus(AllocationResourceStatus.Builder builderForValue)
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
public Reservation.Builder mergeResourceStatus(AllocationResourceStatus value)
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
public Reservation.Builder clearResourceStatus()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
public AllocationResourceStatus.Builder getResourceStatusBuilder()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
public AllocationResourceStatusOrBuilder getResourceStatusOrBuilder()
[Output Only] Status information for Reservation resource.
optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
getResourceStatusOrBuilder in interface ReservationOrBuilderpublic boolean hasSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;hasSatisfiesPzs in interface ReservationOrBuilderpublic boolean getSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;getSatisfiesPzs in interface ReservationOrBuilderpublic Reservation.Builder setSatisfiesPzs(boolean value)
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;value - The satisfiesPzs to set.public Reservation.Builder clearSatisfiesPzs()
[Output Only] Reserved for future use.
optional bool satisfies_pzs = 480964267;public boolean hasSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;hasSelfLink in interface ReservationOrBuilderpublic String getSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLink in interface ReservationOrBuilderpublic com.google.protobuf.ByteString getSelfLinkBytes()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;getSelfLinkBytes in interface ReservationOrBuilderpublic Reservation.Builder setSelfLink(String value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The selfLink to set.public Reservation.Builder clearSelfLink()
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;public Reservation.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
[Output Only] Server-defined fully-qualified URL for this resource.
optional string self_link = 456214797;value - The bytes for selfLink to set.public 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;hasShareSettings in interface ReservationOrBuilderpublic 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;getShareSettings in interface ReservationOrBuilderpublic Reservation.Builder setShareSettings(ShareSettings value)
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;public Reservation.Builder setShareSettings(ShareSettings.Builder builderForValue)
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;public Reservation.Builder mergeShareSettings(ShareSettings value)
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;public Reservation.Builder clearShareSettings()
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;public ShareSettings.Builder getShareSettingsBuilder()
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;public 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;getShareSettingsOrBuilder in interface ReservationOrBuilderpublic boolean hasSpecificReservation()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
hasSpecificReservation in interface ReservationOrBuilderpublic AllocationSpecificSKUReservation getSpecificReservation()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
getSpecificReservation in interface ReservationOrBuilderpublic Reservation.Builder setSpecificReservation(AllocationSpecificSKUReservation value)
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
public Reservation.Builder setSpecificReservation(AllocationSpecificSKUReservation.Builder builderForValue)
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
public Reservation.Builder mergeSpecificReservation(AllocationSpecificSKUReservation value)
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
public Reservation.Builder clearSpecificReservation()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
public AllocationSpecificSKUReservation.Builder getSpecificReservationBuilder()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
public AllocationSpecificSKUReservationOrBuilder getSpecificReservationOrBuilder()
Reservation for instances with specific machine shapes.
optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
getSpecificReservationOrBuilder in interface ReservationOrBuilderpublic 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;hasSpecificReservationRequired in interface ReservationOrBuilderpublic 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;getSpecificReservationRequired in interface ReservationOrBuilderpublic Reservation.Builder setSpecificReservationRequired(boolean value)
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;value - The specificReservationRequired to set.public Reservation.Builder clearSpecificReservationRequired()
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;public 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;hasStatus in interface ReservationOrBuilderpublic 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;getStatus in interface ReservationOrBuilderpublic 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;getStatusBytes in interface ReservationOrBuilderpublic Reservation.Builder setStatus(String value)
[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;value - The status to set.public Reservation.Builder clearStatus()
[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;public Reservation.Builder setStatusBytes(com.google.protobuf.ByteString value)
[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;value - The bytes for status to set.public 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;hasZone in interface ReservationOrBuilderpublic 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;getZone in interface ReservationOrBuilderpublic 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;getZoneBytes in interface ReservationOrBuilderpublic Reservation.Builder setZone(String value)
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
optional string zone = 3744684;value - The zone to set.public Reservation.Builder clearZone()
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
optional string zone = 3744684;public Reservation.Builder setZoneBytes(com.google.protobuf.ByteString value)
Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
optional string zone = 3744684;value - The bytes for zone to set.public final Reservation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>public final Reservation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Reservation.Builder>Copyright © 2025 Google LLC. All rights reserved.