
com.google.cloud.compute.v1.StoragePoolDiskOrBuilder 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 StoragePoolDiskOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.StoragePoolDisk)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* [Output Only] Instances this disk is attached to.
*
*
* repeated string attached_instances = 65255843;
*
* @return A list containing the attachedInstances.
*/
java.util.List getAttachedInstancesList();
/**
*
*
*
* [Output Only] Instances this disk is attached to.
*
*
* repeated string attached_instances = 65255843;
*
* @return The count of attachedInstances.
*/
int getAttachedInstancesCount();
/**
*
*
*
* [Output Only] Instances this disk is attached to.
*
*
* repeated string attached_instances = 65255843;
*
* @param index The index of the element to return.
* @return The attachedInstances at the given index.
*/
java.lang.String getAttachedInstances(int index);
/**
*
*
*
* [Output Only] Instances this disk is attached to.
*
*
* repeated string attached_instances = 65255843;
*
* @param index The index of the value to return.
* @return The bytes of the attachedInstances at the given index.
*/
com.google.protobuf.ByteString getAttachedInstancesBytes(int index);
/**
*
*
*
* [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();
/**
*
*
*
* [Output Only] The URL of the disk.
*
*
* optional string disk = 3083677;
*
* @return Whether the disk field is set.
*/
boolean hasDisk();
/**
*
*
*
* [Output Only] The URL of the disk.
*
*
* optional string disk = 3083677;
*
* @return The disk.
*/
java.lang.String getDisk();
/**
*
*
*
* [Output Only] The URL of the disk.
*
*
* optional string disk = 3083677;
*
* @return The bytes for disk.
*/
com.google.protobuf.ByteString getDiskBytes();
/**
*
*
*
* [Output Only] The name of the disk.
*
*
* optional string name = 3373707;
*
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
*
*
* [Output Only] The name of the disk.
*
*
* optional string name = 3373707;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* [Output Only] The name of the disk.
*
*
* optional string name = 3373707;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* [Output Only] The number of IOPS provisioned for the disk.
*
*
* optional int64 provisioned_iops = 186769108;
*
* @return Whether the provisionedIops field is set.
*/
boolean hasProvisionedIops();
/**
*
*
*
* [Output Only] The number of IOPS provisioned for the disk.
*
*
* optional int64 provisioned_iops = 186769108;
*
* @return The provisionedIops.
*/
long getProvisionedIops();
/**
*
*
*
* [Output Only] The throughput provisioned for the disk.
*
*
* optional int64 provisioned_throughput = 526524181;
*
* @return Whether the provisionedThroughput field is set.
*/
boolean hasProvisionedThroughput();
/**
*
*
*
* [Output Only] The throughput provisioned for the disk.
*
*
* optional int64 provisioned_throughput = 526524181;
*
* @return The provisionedThroughput.
*/
long getProvisionedThroughput();
/**
*
*
*
* [Output Only] Resource policies applied to disk for automatic snapshot creations.
*
*
* repeated string resource_policies = 22220385;
*
* @return A list containing the resourcePolicies.
*/
java.util.List getResourcePoliciesList();
/**
*
*
*
* [Output Only] Resource policies applied to disk for automatic snapshot creations.
*
*
* repeated string resource_policies = 22220385;
*
* @return The count of resourcePolicies.
*/
int getResourcePoliciesCount();
/**
*
*
*
* [Output Only] Resource policies applied to disk for automatic snapshot creations.
*
*
* repeated string resource_policies = 22220385;
*
* @param index The index of the element to return.
* @return The resourcePolicies at the given index.
*/
java.lang.String getResourcePolicies(int index);
/**
*
*
*
* [Output Only] Resource policies applied to disk for automatic snapshot creations.
*
*
* repeated string resource_policies = 22220385;
*
* @param index The index of the value to return.
* @return The bytes of the resourcePolicies at the given index.
*/
com.google.protobuf.ByteString getResourcePoliciesBytes(int index);
/**
*
*
*
* [Output Only] The disk size, in GB.
*
*
* optional int64 size_gb = 494929369;
*
* @return Whether the sizeGb field is set.
*/
boolean hasSizeGb();
/**
*
*
*
* [Output Only] The disk size, in GB.
*
*
* optional int64 size_gb = 494929369;
*
* @return The sizeGb.
*/
long getSizeGb();
/**
*
*
*
* [Output Only] The disk status.
* 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 disk status.
* Check the Status enum for the list of possible values.
*
*
* optional string status = 181260274;
*
* @return The status.
*/
java.lang.String getStatus();
/**
*
*
*
* [Output Only] The disk status.
* Check the Status enum for the list of possible values.
*
*
* optional string status = 181260274;
*
* @return The bytes for status.
*/
com.google.protobuf.ByteString getStatusBytes();
/**
*
*
*
* [Output Only] The disk type.
*
*
* optional string type = 3575610;
*
* @return Whether the type field is set.
*/
boolean hasType();
/**
*
*
*
* [Output Only] The disk type.
*
*
* optional string type = 3575610;
*
* @return The type.
*/
java.lang.String getType();
/**
*
*
*
* [Output Only] The disk type.
*
*
* optional string type = 3575610;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/**
*
*
*
* [Output Only] Amount of disk space used.
*
*
* optional int64 used_bytes = 231640425;
*
* @return Whether the usedBytes field is set.
*/
boolean hasUsedBytes();
/**
*
*
*
* [Output Only] Amount of disk space used.
*
*
* optional int64 used_bytes = 231640425;
*
* @return The usedBytes.
*/
long getUsedBytes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy