public static final class ResourceUsageExportConfig.ConsumptionMeteringConfig extends GeneratedMessageV3 implements ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder
Parameters for controlling consumption metering.
Protobuf type google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig
Static Fields
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder newBuilder()
Returns
newBuilder(ResourceUsageExportConfig.ConsumptionMeteringConfig prototype)
public static ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder newBuilder(ResourceUsageExportConfig.ConsumptionMeteringConfig prototype)
Parameter
Returns
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ResourceUsageExportConfig.ConsumptionMeteringConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<ResourceUsageExportConfig.ConsumptionMeteringConfig> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions