
com.google.cloud.compute.v1.ReservationOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/compute/v1/compute.proto
// Protobuf Java Version: 3.25.5
package com.google.cloud.compute.v1;
public interface ReservationOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Reservation)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Reservation for aggregated resources, providing shape flexibility.
*
*
*
* optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
*
*
* @return Whether the aggregateReservation field is set.
*/
boolean hasAggregateReservation();
/**
*
*
*
* Reservation for aggregated resources, providing shape flexibility.
*
*
*
* optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
*
*
* @return The aggregateReservation.
*/
com.google.cloud.compute.v1.AllocationAggregateReservation getAggregateReservation();
/**
*
*
*
* Reservation for aggregated resources, providing shape flexibility.
*
*
*
* optional .google.cloud.compute.v1.AllocationAggregateReservation aggregate_reservation = 291567948;
*
*/
com.google.cloud.compute.v1.AllocationAggregateReservationOrBuilder
getAggregateReservationOrBuilder();
/**
*
*
*
* [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;
*
* @return Whether the commitment field is set.
*/
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;
*
* @return The commitment.
*/
java.lang.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;
*
* @return The bytes for commitment.
*/
com.google.protobuf.ByteString getCommitmentBytes();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return Whether the creationTimestamp field is set.
*/
boolean hasCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The creationTimestamp.
*/
java.lang.String getCreationTimestamp();
/**
*
*
*
* [Output Only] Creation timestamp in RFC3339 text format.
*
*
* optional string creation_timestamp = 30525366;
*
* @return The bytes for creationTimestamp.
*/
com.google.protobuf.ByteString getCreationTimestampBytes();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return Whether the description field is set.
*/
boolean hasDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* An optional description of this resource. Provide this property when you create the resource.
*
*
* optional string description = 422937596;
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
*
*
* [Output Only] The unique identifier for the resource. This identifier is defined by the server.
*
*
* optional uint64 id = 3355;
*
* @return The id.
*/
long getId();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#reservations for reservations.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#reservations for reservations.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#reservations for reservations.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* 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;
*
* @return Whether the name field is set.
*/
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;
*
* @return The name.
*/
java.lang.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;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* 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;
*/
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(java.lang.String key);
/** Use {@link #getResourcePoliciesMap()} instead. */
@java.lang.Deprecated
java.util.Map getResourcePolicies();
/**
*
*
*
* 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;
*/
java.util.Map 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;
*/
/* nullable */
java.lang.String getResourcePoliciesOrDefault(
java.lang.String key,
/* nullable */
java.lang.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;
*/
java.lang.String getResourcePoliciesOrThrow(java.lang.String key);
/**
*
*
*
* [Output Only] Status information for Reservation resource.
*
*
* optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
*
*
* @return Whether the resourceStatus field is set.
*/
boolean hasResourceStatus();
/**
*
*
*
* [Output Only] Status information for Reservation resource.
*
*
* optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
*
*
* @return The resourceStatus.
*/
com.google.cloud.compute.v1.AllocationResourceStatus getResourceStatus();
/**
*
*
*
* [Output Only] Status information for Reservation resource.
*
*
* optional .google.cloud.compute.v1.AllocationResourceStatus resource_status = 249429315;
*
*/
com.google.cloud.compute.v1.AllocationResourceStatusOrBuilder getResourceStatusOrBuilder();
/**
*
*
*
* [Output Only] Reserved for future use.
*
*
* optional bool satisfies_pzs = 480964267;
*
* @return Whether the satisfiesPzs field is set.
*/
boolean hasSatisfiesPzs();
/**
*
*
*
* [Output Only] Reserved for future use.
*
*
* optional bool satisfies_pzs = 480964267;
*
* @return The satisfiesPzs.
*/
boolean getSatisfiesPzs();
/**
*
*
*
* [Output Only] Server-defined fully-qualified URL for this resource.
*
*
* optional string self_link = 456214797;
*
* @return Whether the selfLink field is set.
*/
boolean hasSelfLink();
/**
*
*
*
* [Output Only] Server-defined fully-qualified URL for this resource.
*
*
* optional string self_link = 456214797;
*
* @return The selfLink.
*/
java.lang.String getSelfLink();
/**
*
*
*
* [Output Only] Server-defined fully-qualified URL for this resource.
*
*
* optional string self_link = 456214797;
*
* @return The bytes for selfLink.
*/
com.google.protobuf.ByteString getSelfLinkBytes();
/**
*
*
*
* 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;
*
* @return Whether the shareSettings field is set.
*/
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;
*
* @return The shareSettings.
*/
com.google.cloud.compute.v1.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;
*/
com.google.cloud.compute.v1.ShareSettingsOrBuilder getShareSettingsOrBuilder();
/**
*
*
*
* Reservation for instances with specific machine shapes.
*
*
*
* optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
*
*
* @return Whether the specificReservation field is set.
*/
boolean hasSpecificReservation();
/**
*
*
*
* Reservation for instances with specific machine shapes.
*
*
*
* optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
*
*
* @return The specificReservation.
*/
com.google.cloud.compute.v1.AllocationSpecificSKUReservation getSpecificReservation();
/**
*
*
*
* Reservation for instances with specific machine shapes.
*
*
*
* optional .google.cloud.compute.v1.AllocationSpecificSKUReservation specific_reservation = 404901951;
*
*/
com.google.cloud.compute.v1.AllocationSpecificSKUReservationOrBuilder
getSpecificReservationOrBuilder();
/**
*
*
*
* 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;
*
* @return Whether the specificReservationRequired field is set.
*/
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;
*
* @return The specificReservationRequired.
*/
boolean getSpecificReservationRequired();
/**
*
*
*
* [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;
*
* @return Whether the status field is set.
*/
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;
*
* @return The status.
*/
java.lang.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;
*
* @return The bytes for status.
*/
com.google.protobuf.ByteString getStatusBytes();
/**
*
*
*
* Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment.
*
*
* optional string zone = 3744684;
*
* @return Whether the zone field is set.
*/
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;
*
* @return The zone.
*/
java.lang.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;
*
* @return The bytes for zone.
*/
com.google.protobuf.ByteString getZoneBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy