com.google.cloud.netapp.v1.TieringPolicyOrBuilder 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/volume.proto
// Protobuf Java Version: 3.25.4
package com.google.cloud.netapp.v1;
public interface TieringPolicyOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.netapp.v1.TieringPolicy)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Flag indicating if the volume has tiering policy enable/pause.
* Default is PAUSED.
*
*
*
* optional .google.cloud.netapp.v1.TieringPolicy.TierAction tier_action = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the tierAction field is set.
*/
boolean hasTierAction();
/**
*
*
*
* Optional. Flag indicating if the volume has tiering policy enable/pause.
* Default is PAUSED.
*
*
*
* optional .google.cloud.netapp.v1.TieringPolicy.TierAction tier_action = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The enum numeric value on the wire for tierAction.
*/
int getTierActionValue();
/**
*
*
*
* Optional. Flag indicating if the volume has tiering policy enable/pause.
* Default is PAUSED.
*
*
*
* optional .google.cloud.netapp.v1.TieringPolicy.TierAction tier_action = 1 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The tierAction.
*/
com.google.cloud.netapp.v1.TieringPolicy.TierAction getTierAction();
/**
*
*
*
* Optional. Time in days to mark the volume's data block as cold and make it
* eligible for tiering, can be range from 7-183. Default is 31.
*
*
* optional int32 cooling_threshold_days = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the coolingThresholdDays field is set.
*/
boolean hasCoolingThresholdDays();
/**
*
*
*
* Optional. Time in days to mark the volume's data block as cold and make it
* eligible for tiering, can be range from 7-183. Default is 31.
*
*
* optional int32 cooling_threshold_days = 2 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The coolingThresholdDays.
*/
int getCoolingThresholdDays();
}