com.google.cloud.netapp.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/netapp/v1/storage_pool.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.netapp.v1;
public interface StoragePoolOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.netapp.v1.StoragePool)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Identifier. Name of the storage pool
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* Identifier. Name of the storage pool
*
*
* string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* Required. Service level of the storage pool
*
*
*
* .google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The enum numeric value on the wire for serviceLevel.
*/
int getServiceLevelValue();
/**
*
*
*
* Required. Service level of the storage pool
*
*
*
* .google.cloud.netapp.v1.ServiceLevel service_level = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The serviceLevel.
*/
com.google.cloud.netapp.v1.ServiceLevel getServiceLevel();
/**
*
*
*
* Required. Capacity in GIB of the pool
*
*
* int64 capacity_gib = 3 [(.google.api.field_behavior) = REQUIRED];
*
* @return The capacityGib.
*/
long getCapacityGib();
/**
*
*
*
* Output only. Allocated size of all volumes in GIB in the storage pool
*
*
* int64 volume_capacity_gib = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The volumeCapacityGib.
*/
long getVolumeCapacityGib();
/**
*
*
*
* Output only. Volume count of the storage pool
*
*
* int32 volume_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The volumeCount.
*/
int getVolumeCount();
/**
*
*
*
* Output only. State of the storage pool
*
*
*
* .google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
int getStateValue();
/**
*
*
*
* Output only. State of the storage pool
*
*
*
* .google.cloud.netapp.v1.StoragePool.State state = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The state.
*/
com.google.cloud.netapp.v1.StoragePool.State getState();
/**
*
*
*
* Output only. State details of the storage pool
*
*
* string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The stateDetails.
*/
java.lang.String getStateDetails();
/**
*
*
*
* Output only. State details of the storage pool
*
*
* string state_details = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
* @return The bytes for stateDetails.
*/
com.google.protobuf.ByteString getStateDetailsBytes();
/**
*
*
*
* Output only. Create time of the storage pool
*
*
* .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Output only. Create time of the storage pool
*
*
* .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Output only. Create time of the storage pool
*
*
* .google.protobuf.Timestamp create_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Optional. Description of the storage pool
*
*
* string description = 9 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The description.
*/
java.lang.String getDescription();
/**
*
*
*
* Optional. Description of the storage pool
*
*
* string description = 9 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for description.
*/
com.google.protobuf.ByteString getDescriptionBytes();
/**
*
*
*
* Optional. Labels as key value pairs
*
*
* map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
*/
int getLabelsCount();
/**
*
*
*
* Optional. Labels as key value pairs
*
*
* map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
*/
boolean containsLabels(java.lang.String key);
/** Use {@link #getLabelsMap()} instead. */
@java.lang.Deprecated
java.util.Map getLabels();
/**
*
*
*
* Optional. Labels as key value pairs
*
*
* map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
*/
java.util.Map getLabelsMap();
/**
*
*
*
* Optional. Labels as key value pairs
*
*
* map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
*/
/* nullable */
java.lang.String getLabelsOrDefault(
java.lang.String key,
/* nullable */
java.lang.String defaultValue);
/**
*
*
*
* Optional. Labels as key value pairs
*
*
* map<string, string> labels = 10 [(.google.api.field_behavior) = OPTIONAL];
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
/**
*
*
*
* Required. VPC Network name.
* Format: projects/{project}/global/networks/{network}
*
*
*
* string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The network.
*/
java.lang.String getNetwork();
/**
*
*
*
* Required. VPC Network name.
* Format: projects/{project}/global/networks/{network}
*
*
*
* string network = 11 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for network.
*/
com.google.protobuf.ByteString getNetworkBytes();
/**
*
*
*
* Optional. Specifies the Active Directory to be used for creating a SMB
* volume.
*
*
*
* string active_directory = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The activeDirectory.
*/
java.lang.String getActiveDirectory();
/**
*
*
*
* Optional. Specifies the Active Directory to be used for creating a SMB
* volume.
*
*
*
* string active_directory = 12 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for activeDirectory.
*/
com.google.protobuf.ByteString getActiveDirectoryBytes();
/**
*
*
*
* Optional. Specifies the KMS config to be used for volume encryption.
*
*
*
* string kms_config = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The kmsConfig.
*/
java.lang.String getKmsConfig();
/**
*
*
*
* Optional. Specifies the KMS config to be used for volume encryption.
*
*
*
* string kms_config = 13 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
*
*
* @return The bytes for kmsConfig.
*/
com.google.protobuf.ByteString getKmsConfigBytes();
/**
*
*
*
* Optional. Flag indicating if the pool is NFS LDAP enabled or not.
*
*
* bool ldap_enabled = 14 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The ldapEnabled.
*/
boolean getLdapEnabled();
/**
*
*
*
* Optional. This field is not implemented. The values provided in this field
* are ignored.
*
*
* string psa_range = 15 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The psaRange.
*/
java.lang.String getPsaRange();
/**
*
*
*
* Optional. This field is not implemented. The values provided in this field
* are ignored.
*
*
* string psa_range = 15 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for psaRange.
*/
com.google.protobuf.ByteString getPsaRangeBytes();
/**
*
*
*
* Output only. Specifies the current pool encryption key source.
*
*
*
* .google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for encryptionType.
*/
int getEncryptionTypeValue();
/**
*
*
*
* Output only. Specifies the current pool encryption key source.
*
*
*
* .google.cloud.netapp.v1.EncryptionType encryption_type = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The encryptionType.
*/
com.google.cloud.netapp.v1.EncryptionType getEncryptionType();
/**
*
*
*
* Deprecated. Used to allow SO pool to access AD or DNS server from other
* regions.
*
*
* optional bool global_access_allowed = 17 [deprecated = true];
*
* @deprecated google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
* google/cloud/netapp/v1/storage_pool.proto;l=243
* @return Whether the globalAccessAllowed field is set.
*/
@java.lang.Deprecated
boolean hasGlobalAccessAllowed();
/**
*
*
*
* Deprecated. Used to allow SO pool to access AD or DNS server from other
* regions.
*
*
* optional bool global_access_allowed = 17 [deprecated = true];
*
* @deprecated google.cloud.netapp.v1.StoragePool.global_access_allowed is deprecated. See
* google/cloud/netapp/v1/storage_pool.proto;l=243
* @return The globalAccessAllowed.
*/
@java.lang.Deprecated
boolean getGlobalAccessAllowed();
/**
*
*
*
* Optional. True if the storage pool supports Auto Tiering enabled volumes.
* Default is false. Auto-tiering can be enabled after storage pool creation
* but it can't be disabled once enabled.
*
*
* bool allow_auto_tiering = 18 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The allowAutoTiering.
*/
boolean getAllowAutoTiering();
/**
*
*
*
* Optional. Specifies the replica zone for regional storagePool.
*
*
* string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The replicaZone.
*/
java.lang.String getReplicaZone();
/**
*
*
*
* Optional. Specifies the replica zone for regional storagePool.
*
*
* string replica_zone = 20 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for replicaZone.
*/
com.google.protobuf.ByteString getReplicaZoneBytes();
/**
*
*
*
* Optional. Specifies the active zone for regional storagePool.
*
*
* string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The zone.
*/
java.lang.String getZone();
/**
*
*
*
* Optional. Specifies the active zone for regional storagePool.
*
*
* string zone = 21 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for zone.
*/
com.google.protobuf.ByteString getZoneBytes();
}