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.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourceUsageExportConfig.ConsumptionMeteringConfig build()
Returns
buildPartial()
public ResourceUsageExportConfig.ConsumptionMeteringConfig buildPartial()
Returns
clear()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ResourceUsageExportConfig.ConsumptionMeteringConfig other)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeFrom(ResourceUsageExportConfig.ConsumptionMeteringConfig other)
Parameter
Returns
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides