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 |
|
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 |
data |
byte[]
|
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 |
obj |
Object
|
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()
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 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.
|
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