Class ResourceUsageExportConfig.ConsumptionMeteringConfig (2.18.0)

public static final class ResourceUsageExportConfig.ConsumptionMeteringConfig extends GeneratedMessageV3 implements ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder

Parameters for controlling consumption metering.

Protobuf type google.container.v1beta1.ResourceUsageExportConfig.ConsumptionMeteringConfig

Inheritance

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

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResourceUsageExportConfig.ConsumptionMeteringConfig getDefaultInstance()
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig

getDescriptor()

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

newBuilder()

public static ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder newBuilder()
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder

newBuilder(ResourceUsageExportConfig.ConsumptionMeteringConfig prototype)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder newBuilder(ResourceUsageExportConfig.ConsumptionMeteringConfig prototype)
Parameter
NameDescription
prototypeResourceUsageExportConfig.ConsumptionMeteringConfig
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder

parseDelimitedFrom(InputStream input)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResourceUsageExportConfig.ConsumptionMeteringConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResourceUsageExportConfig.ConsumptionMeteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ResourceUsageExportConfig.ConsumptionMeteringConfig> parser()
Returns
TypeDescription
Parser<ConsumptionMeteringConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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
TypeDescription
boolean

The enabled.

getParserForType()

public Parser<ResourceUsageExportConfig.ConsumptionMeteringConfig> getParserForType()
Returns
TypeDescription
Parser<ConsumptionMeteringConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides