public static final class ResourceUsageExportConfig.Builder extends GeneratedMessageV3.Builder<ResourceUsageExportConfig.Builder> implements ResourceUsageExportConfigOrBuilder
Configuration for exporting cluster resource usages.
Protobuf type google.container.v1.ResourceUsageExportConfig
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.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ResourceUsageExportConfig build()
buildPartial()
public ResourceUsageExportConfig buildPartial()
clear()
public ResourceUsageExportConfig.Builder clear()
Overrides
clearBigqueryDestination()
public ResourceUsageExportConfig.Builder clearBigqueryDestination()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
clearConsumptionMeteringConfig()
public ResourceUsageExportConfig.Builder clearConsumptionMeteringConfig()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
clearEnableNetworkEgressMetering()
public ResourceUsageExportConfig.Builder clearEnableNetworkEgressMetering()
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;
clearField(Descriptors.FieldDescriptor field)
public ResourceUsageExportConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceUsageExportConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ResourceUsageExportConfig.Builder clone()
Overrides
getBigqueryDestination()
public ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
getBigqueryDestinationBuilder()
public ResourceUsageExportConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder()
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;
getConsumptionMeteringConfigBuilder()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder getConsumptionMeteringConfigBuilder()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBigqueryDestination(ResourceUsageExportConfig.BigQueryDestination value)
public ResourceUsageExportConfig.Builder mergeBigqueryDestination(ResourceUsageExportConfig.BigQueryDestination value)
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
mergeConsumptionMeteringConfig(ResourceUsageExportConfig.ConsumptionMeteringConfig value)
public ResourceUsageExportConfig.Builder mergeConsumptionMeteringConfig(ResourceUsageExportConfig.ConsumptionMeteringConfig value)
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
mergeFrom(ResourceUsageExportConfig other)
public ResourceUsageExportConfig.Builder mergeFrom(ResourceUsageExportConfig other)
public ResourceUsageExportConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ResourceUsageExportConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBigqueryDestination(ResourceUsageExportConfig.BigQueryDestination value)
public ResourceUsageExportConfig.Builder setBigqueryDestination(ResourceUsageExportConfig.BigQueryDestination value)
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
setBigqueryDestination(ResourceUsageExportConfig.BigQueryDestination.Builder builderForValue)
public ResourceUsageExportConfig.Builder setBigqueryDestination(ResourceUsageExportConfig.BigQueryDestination.Builder builderForValue)
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
setConsumptionMeteringConfig(ResourceUsageExportConfig.ConsumptionMeteringConfig value)
public ResourceUsageExportConfig.Builder setConsumptionMeteringConfig(ResourceUsageExportConfig.ConsumptionMeteringConfig value)
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
setConsumptionMeteringConfig(ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder builderForValue)
public ResourceUsageExportConfig.Builder setConsumptionMeteringConfig(ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder builderForValue)
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
setEnableNetworkEgressMetering(boolean value)
public ResourceUsageExportConfig.Builder setEnableNetworkEgressMetering(boolean value)
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;
Parameter |
---|
Name | Description |
value | boolean
The enableNetworkEgressMetering to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceUsageExportConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceUsageExportConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides