Class TieringPolicy (0.55.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.55.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  TieringPolicy   extends   GeneratedMessageV3   implements   TieringPolicyOrBuilder  
   Defines tiering policy for the volume.
 Protobuf type google.cloud.netapp.v1.TieringPolicy
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  COOLING_THRESHOLD_DAYS_FIELD_NUMBER 
  
    
public   static   final   int   COOLING_THRESHOLD_DAYS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  HOT_TIER_BYPASS_MODE_ENABLED_FIELD_NUMBER 
  
    
public   static   final   int   HOT_TIER_BYPASS_MODE_ENABLED_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  TIER_ACTION_FIELD_NUMBER 
  
    
public   static   final   int   TIER_ACTION_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   TieringPolicy   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   TieringPolicy . Builder   newBuilder ()  
  
  newBuilder(TieringPolicy prototype) 
  
    
public   static   TieringPolicy . Builder   newBuilder ( TieringPolicy   prototype )  
  
  
  
    
public   static   TieringPolicy   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   TieringPolicy   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   TieringPolicy   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TieringPolicy   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   TieringPolicy   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TieringPolicy   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   TieringPolicy   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   TieringPolicy   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   TieringPolicy   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   TieringPolicy   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   TieringPolicy   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   TieringPolicy   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<TieringPolicy>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCoolingThresholdDays() 
  
    
public   int   getCoolingThresholdDays ()  
   Optional. Time in days to mark the volume's data block as cold and make it
 eligible for tiering, can be range from 2-183. Default is 31.
 optional int32 cooling_threshold_days = 2 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        int The coolingThresholdDays.
 
     
  
  getDefaultInstanceForType() 
  
    
public   TieringPolicy   getDefaultInstanceForType ()  
  
  getHotTierBypassModeEnabled() 
  
    
public   boolean   getHotTierBypassModeEnabled ()  
   Optional. Flag indicating that the hot tier bypass mode is enabled. Default
 is false. This is only applicable to Flex service level.
 optional bool hot_tier_bypass_mode_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean The hotTierBypassModeEnabled.
 
     
  
  getParserForType() 
  
    
public   Parser<TieringPolicy>   getParserForType ()  
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getTierAction() 
  
    
public   TieringPolicy . TierAction   getTierAction ()  
   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];
 
getTierActionValue() 
  
    
public   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];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for tierAction.
 
     
  
  hasCoolingThresholdDays() 
  
    
public   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 2-183. Default is 31.
 optional int32 cooling_threshold_days = 2 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the coolingThresholdDays field is set.
 
     
  
  hasHotTierBypassModeEnabled() 
  
    
public   boolean   hasHotTierBypassModeEnabled ()  
   Optional. Flag indicating that the hot tier bypass mode is enabled. Default
 is false. This is only applicable to Flex service level.
 optional bool hot_tier_bypass_mode_enabled = 3 [(.google.api.field_behavior) = OPTIONAL];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the hotTierBypassModeEnabled field is set.
 
     
  
  hasTierAction() 
  
    
public   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];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the tierAction field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   TieringPolicy . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   TieringPolicy . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   TieringPolicy . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]