Class ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder (2.22.0)

public static final class ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder extends GeneratedMessageV3.Builder<ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder> implements ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder

Parameters for controlling consumption metering.

Protobuf type google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder
Overrides

build()

public ResourceUsageExportConfig.ConsumptionMeteringConfig build()
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig

buildPartial()

public ResourceUsageExportConfig.ConsumptionMeteringConfig buildPartial()
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig

clear()

public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clear()
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder
Overrides

clearEnabled()

public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clearEnabled()

Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.

bool enabled = 1;

Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder
Overrides