public static final class TieringPolicy.Builder extends GeneratedMessageV3.Builder<TieringPolicy.Builder> implements TieringPolicyOrBuilderDefines tiering policy for the volume.
Protobuf type google.cloud.netapp.v1.TieringPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TieringPolicy.BuilderImplements
TieringPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TieringPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
build()
public TieringPolicy build()| Returns | |
|---|---|
| Type | Description |
TieringPolicy |
|
buildPartial()
public TieringPolicy buildPartial()| Returns | |
|---|---|
| Type | Description |
TieringPolicy |
|
clear()
public TieringPolicy.Builder clear()| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
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 2-183. Default is 31.
optional int32 cooling_threshold_days = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TieringPolicy.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
clearHotTierBypassModeEnabled()
public TieringPolicy.Builder clearHotTierBypassModeEnabled()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 |
TieringPolicy.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TieringPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
This builder for chaining. |
clone()
public TieringPolicy.Builder clone()| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
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()| Returns | |
|---|---|
| Type | Description |
TieringPolicy |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
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];
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.TierAction |
The tierAction. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TieringPolicy other)
public TieringPolicy.Builder mergeFrom(TieringPolicy other)| Parameter | |
|---|---|
| Name | Description |
other |
TieringPolicy |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TieringPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TieringPolicy.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TieringPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
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 2-183. Default is 31.
optional int32 cooling_threshold_days = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe coolingThresholdDays to set. |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TieringPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
setHotTierBypassModeEnabled(boolean value)
public TieringPolicy.Builder setHotTierBypassModeEnabled(boolean value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe hotTierBypassModeEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TieringPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|
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];
| Parameter | |
|---|---|
| Name | Description |
value |
TieringPolicy.TierActionThe tierAction to set. |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
This builder for chaining. |
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 |
intThe enum numeric value on the wire for tierAction to set. |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TieringPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
TieringPolicy.Builder |
|