Send feedback
Class TieringPolicy.Builder (0.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.28.0 keyboard_arrow_down
public static final class TieringPolicy . Builder extends GeneratedMessageV3 . Builder<TieringPolicy . Builder > implements TieringPolicyOrBuilder
Defines tiering policy for the volume.
Protobuf type google.cloud.netapp.v1.TieringPolicy
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TieringPolicy . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public TieringPolicy build ()
buildPartial()
public TieringPolicy buildPartial ()
clear()
public TieringPolicy . Builder clear ()
Overrides
clearCoolingThresholdDays()
public TieringPolicy . Builder clearCoolingThresholdDays ()
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];
clearField(Descriptors.FieldDescriptor field)
public TieringPolicy . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TieringPolicy . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearTierAction()
public TieringPolicy . Builder clearTierAction ()
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];
clone()
public TieringPolicy . Builder clone ()
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 7-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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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 7-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.
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(TieringPolicy other)
public TieringPolicy . Builder mergeFrom ( TieringPolicy other )
public TieringPolicy . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public TieringPolicy . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TieringPolicy . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCoolingThresholdDays(int value)
public TieringPolicy . Builder setCoolingThresholdDays ( int value )
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];
Parameter
Name
Description
value
int
The coolingThresholdDays to set.
setField(Descriptors.FieldDescriptor field, Object value)
public TieringPolicy . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TieringPolicy . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setTierAction(TieringPolicy.TierAction value)
public TieringPolicy . Builder setTierAction ( TieringPolicy . TierAction value )
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];
setTierActionValue(int value)
public TieringPolicy . Builder setTierActionValue ( int value )
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];
Parameter
Name
Description
value
int
The enum numeric value on the wire for tierAction to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final TieringPolicy . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]