Class CostManagementConfig.Builder (2.86.0)

public static final class CostManagementConfig.Builder extends GeneratedMessage.Builder<CostManagementConfig.Builder> implements CostManagementConfigOrBuilder

Configuration for fine-grained cost management feature.

Protobuf type google.container.v1beta1.CostManagementConfig

Static Methods

getDescriptor()

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

Methods

build()

public CostManagementConfig build()
Returns
Type Description
CostManagementConfig

buildPartial()

public CostManagementConfig buildPartial()
Returns
Type Description
CostManagementConfig

clear()

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

clearEnabled()

public CostManagementConfig.Builder clearEnabled()

Whether the feature is enabled or not.

bool enabled = 1;

Returns
Type Description
CostManagementConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public CostManagementConfig getDefaultInstanceForType()
Returns
Type Description
CostManagementConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether the feature is enabled or not.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CostManagementConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public CostManagementConfig.Builder setEnabled(boolean value)

Whether the feature is enabled or not.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
CostManagementConfig.Builder

This builder for chaining.