
com.google.cloud.compute.v1.StoragePoolOrBuilder 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 StoragePoolOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePool)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Provisioning type of the byte capacity of the pool.
* Check the CapacityProvisioningType enum for the list of possible values.
*
*
* optional string capacity_provisioning_type = 251610375;
*
* @return Whether the capacityProvisioningType field is set.
*/
boolean hasCapacityProvisioningType();
/**
*
*
*
* Provisioning type of the byte capacity of the pool.
* Check the CapacityProvisioningType enum for the list of possible values.
*
*
* optional string capacity_provisioning_type = 251610375;
*
* @return The capacityProvisioningType.
*/
java.lang.String getCapacityProvisioningType();
/**
*
*
*
* Provisioning type of the byte capacity of the pool.
* Check the CapacityProvisioningType enum for the list of possible values.
*
*
* optional string capacity_provisioning_type = 251610375;
*
* @return The bytes for capacityProvisioningType.
*/
com.google.protobuf.ByteString getCapacityProvisioningTypeBytes();
/**
*
*
*
* [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#storagePool for storage pools.
*
*
* optional string kind = 3292052;
*
* @return Whether the kind field is set.
*/
boolean hasKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#storagePool for storage pools.
*
*
* optional string kind = 3292052;
*
* @return The kind.
*/
java.lang.String getKind();
/**
*
*
*
* [Output Only] Type of the resource. Always compute#storagePool for storage pools.
*
*
* optional string kind = 3292052;
*
* @return The bytes for kind.
*/
com.google.protobuf.ByteString getKindBytes();
/**
*
*
*
* A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
*
*
* optional string label_fingerprint = 178124825;
*
* @return Whether the labelFingerprint field is set.
*/
boolean hasLabelFingerprint();
/**
*
*
*
* A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
*
*
* optional string label_fingerprint = 178124825;
*
* @return The labelFingerprint.
*/
java.lang.String getLabelFingerprint();
/**
*
*
*
* A fingerprint for the labels being applied to this storage pool, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a storage pool.
*
*
* optional string label_fingerprint = 178124825;
*
* @return The bytes for labelFingerprint.
*/
com.google.protobuf.ByteString getLabelFingerprintBytes();
/**
*
*
*
* Labels to apply to this storage pool. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
int getLabelsCount();
/**
*
*
*
* Labels to apply to this storage pool. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Labels to apply to this storage pool. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Labels to apply to this storage pool. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Labels to apply to this storage pool. These can be later modified by the setLabels method.
*
*
* map<string, string> labels = 500195327;
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* Name of the resource. Provided by the client when the resource is created. The 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();
/**
*
*
*
* Name of the resource. Provided by the client when the resource is created. The 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();
/**
*
*
*
* Name of the resource. Provided by the client when the resource is created. The 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();
/**
*
*
*
* Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
* Check the PerformanceProvisioningType enum for the list of possible values.
*
*
* optional string performance_provisioning_type = 468553469;
*
* @return Whether the performanceProvisioningType field is set.
*/
boolean hasPerformanceProvisioningType();
/**
*
*
*
* Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
* Check the PerformanceProvisioningType enum for the list of possible values.
*
*
* optional string performance_provisioning_type = 468553469;
*
* @return The performanceProvisioningType.
*/
java.lang.String getPerformanceProvisioningType();
/**
*
*
*
* Provisioning type of the performance-related parameters of the pool, such as throughput and IOPS.
* Check the PerformanceProvisioningType enum for the list of possible values.
*
*
* optional string performance_provisioning_type = 468553469;
*
* @return The bytes for performanceProvisioningType.
*/
com.google.protobuf.ByteString getPerformanceProvisioningTypeBytes();
/**
*
*
*
* Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
*
*
* optional int64 pool_provisioned_capacity_gb = 478537682;
*
* @return Whether the poolProvisionedCapacityGb field is set.
*/
boolean hasPoolProvisionedCapacityGb();
/**
*
*
*
* Size, in GiB, of the storage pool. For more information about the size limits, see https://cloud.google.com/compute/docs/disks/storage-pools.
*
*
* optional int64 pool_provisioned_capacity_gb = 478537682;
*
* @return The poolProvisionedCapacityGb.
*/
long getPoolProvisionedCapacityGb();
/**
*
*
*
* Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
*
*
* optional int64 pool_provisioned_iops = 112092311;
*
* @return Whether the poolProvisionedIops field is set.
*/
boolean hasPoolProvisionedIops();
/**
*
*
*
* Provisioned IOPS of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced.
*
*
* optional int64 pool_provisioned_iops = 112092311;
*
* @return The poolProvisionedIops.
*/
long getPoolProvisionedIops();
/**
*
*
*
* Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
*
*
* optional int64 pool_provisioned_throughput = 169215640;
*
* @return Whether the poolProvisionedThroughput field is set.
*/
boolean hasPoolProvisionedThroughput();
/**
*
*
*
* Provisioned throughput of the storage pool. Only relevant if the storage pool type is hyperdisk-balanced or hyperdisk-throughput.
*
*
* optional int64 pool_provisioned_throughput = 169215640;
*
* @return The poolProvisionedThroughput.
*/
long getPoolProvisionedThroughput();
/**
*
*
*
* [Output Only] Status information for the storage pool resource.
*
*
* optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
*
*
* @return Whether the resourceStatus field is set.
*/
boolean hasResourceStatus();
/**
*
*
*
* [Output Only] Status information for the storage pool resource.
*
*
* optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
*
*
* @return The resourceStatus.
*/
com.google.cloud.compute.v1.StoragePoolResourceStatus getResourceStatus();
/**
*
*
*
* [Output Only] Status information for the storage pool resource.
*
*
* optional .google.cloud.compute.v1.StoragePoolResourceStatus resource_status = 249429315;
*
*/
com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder getResourceStatusOrBuilder();
/**
*
*
*
* [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();
/**
*
*
*
* [Output Only] Server-defined URL for this resource's resource id.
*
*
* optional string self_link_with_id = 44520962;
*
* @return Whether the selfLinkWithId field is set.
*/
boolean hasSelfLinkWithId();
/**
*
*
*
* [Output Only] Server-defined URL for this resource's resource id.
*
*
* optional string self_link_with_id = 44520962;
*
* @return The selfLinkWithId.
*/
java.lang.String getSelfLinkWithId();
/**
*
*
*
* [Output Only] Server-defined URL for this resource's resource id.
*
*
* optional string self_link_with_id = 44520962;
*
* @return The bytes for selfLinkWithId.
*/
com.google.protobuf.ByteString getSelfLinkWithIdBytes();
/**
*
*
*
* [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
* Check the State enum for the list of possible values.
*
*
* optional string state = 109757585;
*
* @return Whether the state field is set.
*/
boolean hasState();
/**
*
*
*
* [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
* Check the State enum for the list of possible values.
*
*
* optional string state = 109757585;
*
* @return The state.
*/
java.lang.String getState();
/**
*
*
*
* [Output Only] The status of storage pool creation. - CREATING: Storage pool is provisioning. storagePool. - FAILED: Storage pool creation failed. - READY: Storage pool is ready for use. - DELETING: Storage pool is deleting.
* Check the State enum for the list of possible values.
*
*
* optional string state = 109757585;
*
* @return The bytes for state.
*/
com.google.protobuf.ByteString getStateBytes();
/**
*
*
*
* [Output Only] Status information for the storage pool resource.
*
*
* optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
*
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
*
*
* [Output Only] Status information for the storage pool resource.
*
*
* optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
*
* @return The status.
*/
com.google.cloud.compute.v1.StoragePoolResourceStatus getStatus();
/**
*
*
*
* [Output Only] Status information for the storage pool resource.
*
*
* optional .google.cloud.compute.v1.StoragePoolResourceStatus status = 181260274;
*/
com.google.cloud.compute.v1.StoragePoolResourceStatusOrBuilder getStatusOrBuilder();
/**
*
*
*
* Type of the storage pool.
*
*
* optional string storage_pool_type = 285999289;
*
* @return Whether the storagePoolType field is set.
*/
boolean hasStoragePoolType();
/**
*
*
*
* Type of the storage pool.
*
*
* optional string storage_pool_type = 285999289;
*
* @return The storagePoolType.
*/
java.lang.String getStoragePoolType();
/**
*
*
*
* Type of the storage pool.
*
*
* optional string storage_pool_type = 285999289;
*
* @return The bytes for storagePoolType.
*/
com.google.protobuf.ByteString getStoragePoolTypeBytes();
/**
*
*
*
* [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*
*
* optional string zone = 3744684;
*
* @return Whether the zone field is set.
*/
boolean hasZone();
/**
*
*
*
* [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*
*
* optional string zone = 3744684;
*
* @return The zone.
*/
java.lang.String getZone();
/**
*
*
*
* [Output Only] URL of the zone where the storage pool resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
*
*
* optional string zone = 3744684;
*
* @return The bytes for zone.
*/
com.google.protobuf.ByteString getZoneBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy