public final class ResourceUsageExportConfig extends GeneratedMessageV3 implements ResourceUsageExportConfigOrBuilder
Configuration for exporting cluster resource usages.
Protobuf type google.container.v1.ResourceUsageExportConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
BIGQUERY_DESTINATION_FIELD_NUMBER
public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
CONSUMPTION_METERING_CONFIG_FIELD_NUMBER
public static final int CONSUMPTION_METERING_CONFIG_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER
public static final int ENABLE_NETWORK_EGRESS_METERING_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ResourceUsageExportConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ResourceUsageExportConfig.Builder newBuilder()
newBuilder(ResourceUsageExportConfig prototype)
public static ResourceUsageExportConfig.Builder newBuilder(ResourceUsageExportConfig prototype)
public static ResourceUsageExportConfig parseDelimitedFrom(InputStream input)
public static ResourceUsageExportConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ResourceUsageExportConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ResourceUsageExportConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig parseFrom(CodedInputStream input)
public static ResourceUsageExportConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig parseFrom(InputStream input)
public static ResourceUsageExportConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ResourceUsageExportConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ResourceUsageExportConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ResourceUsageExportConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBigqueryDestination()
public ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
getBigqueryDestinationOrBuilder()
public ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
getConsumptionMeteringConfig()
public ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
getConsumptionMeteringConfigOrBuilder()
public ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
getDefaultInstanceForType()
public ResourceUsageExportConfig getDefaultInstanceForType()
getEnableNetworkEgressMetering()
public boolean getEnableNetworkEgressMetering()
Whether to enable network egress metering for this cluster. If enabled, a
daemonset will be created in the cluster to meter network egress traffic.
bool enable_network_egress_metering = 2;
Returns |
---|
Type | Description |
boolean | The enableNetworkEgressMetering.
|
getParserForType()
public Parser<ResourceUsageExportConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hasBigqueryDestination()
public boolean hasBigqueryDestination()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
Returns |
---|
Type | Description |
boolean | Whether the bigqueryDestination field is set.
|
hasConsumptionMeteringConfig()
public boolean hasConsumptionMeteringConfig()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
Returns |
---|
Type | Description |
boolean | Whether the consumptionMeteringConfig field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ResourceUsageExportConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ResourceUsageExportConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ResourceUsageExportConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides