Class DynamicTierOptions.Builder (0.39.0)

public static final class DynamicTierOptions.Builder extends GeneratedMessage.Builder<DynamicTierOptions.Builder> implements DynamicTierOptionsOrBuilder

Dynamic tier options for a Managed Lustre instance.

Protobuf type google.cloud.lustre.v1.DynamicTierOptions

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DynamicTierOptions build()
Returns
Type Description
DynamicTierOptions

buildPartial()

public DynamicTierOptions buildPartial()
Returns
Type Description
DynamicTierOptions

clear()

public DynamicTierOptions.Builder clear()
Returns
Type Description
DynamicTierOptions.Builder
Overrides

clearMode()

public DynamicTierOptions.Builder clearMode()

Required. Immutable. The dynamic tier mode of the instance.

.google.cloud.lustre.v1.DynamicTierOptions.Mode mode = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DynamicTierOptions.Builder

This builder for chaining.

getDefaultInstanceForType()

public DynamicTierOptions getDefaultInstanceForType()
Returns
Type Description
DynamicTierOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMode()

public DynamicTierOptions.Mode getMode()

Required. Immutable. The dynamic tier mode of the instance.

.google.cloud.lustre.v1.DynamicTierOptions.Mode mode = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DynamicTierOptions.Mode

The mode.

getModeValue()

public int getModeValue()

Required. Immutable. The dynamic tier mode of the instance.

.google.cloud.lustre.v1.DynamicTierOptions.Mode mode = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for mode.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DynamicTierOptions other)

public DynamicTierOptions.Builder mergeFrom(DynamicTierOptions other)
Parameter
Name Description
other DynamicTierOptions
Returns
Type Description
DynamicTierOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DynamicTierOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DynamicTierOptions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DynamicTierOptions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DynamicTierOptions.Builder
Overrides

setMode(DynamicTierOptions.Mode value)

public DynamicTierOptions.Builder setMode(DynamicTierOptions.Mode value)

Required. Immutable. The dynamic tier mode of the instance.

.google.cloud.lustre.v1.DynamicTierOptions.Mode mode = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DynamicTierOptions.Mode

The mode to set.

Returns
Type Description
DynamicTierOptions.Builder

This builder for chaining.

setModeValue(int value)

public DynamicTierOptions.Builder setModeValue(int value)

Required. Immutable. The dynamic tier mode of the instance.

.google.cloud.lustre.v1.DynamicTierOptions.Mode mode = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for mode to set.

Returns
Type Description
DynamicTierOptions.Builder

This builder for chaining.