- 0.64.0 (latest)
- 0.62.0
- 0.61.0
- 0.59.0
- 0.57.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.47.0
- 0.46.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class TieringPolicy.Builder extends GeneratedMessage.Builder<TieringPolicy.Builder> implements TieringPolicyOrBuilderDefines tiering policy for the volume.
Protobuf type google.cloud.netapp.v1.TieringPolicy
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TieringPolicy.BuilderImplements
TieringPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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. |
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. |
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. |
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 GeneratedMessage.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 |
|
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. |
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. |
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. |