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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourceUsageExportConfig.ConsumptionMeteringConfig build()
buildPartial()
public ResourceUsageExportConfig.ConsumptionMeteringConfig buildPartial()
clear()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabled()
public boolean getEnabled()
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 |
---|
Type | Description |
boolean | The enabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ResourceUsageExportConfig.ConsumptionMeteringConfig other)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeFrom(ResourceUsageExportConfig.ConsumptionMeteringConfig other)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnabled(boolean value)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder setEnabled(boolean value)
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;
Parameter |
---|
Name | Description |
value | boolean
The enabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides