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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceUsageExportConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ResourceUsageExportConfig build()
Returns
buildPartial()
public ResourceUsageExportConfig buildPartial()
Returns
clear()
public ResourceUsageExportConfig.Builder clear()
Returns
Overrides
clearBigqueryDestination()
public ResourceUsageExportConfig.Builder clearBigqueryDestination()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
Returns
clearConsumptionMeteringConfig()
public ResourceUsageExportConfig.Builder clearConsumptionMeteringConfig()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public ResourceUsageExportConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceUsageExportConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ResourceUsageExportConfig.Builder clone()
Returns
Overrides
getBigqueryDestination()
public ResourceUsageExportConfig.BigQueryDestination getBigqueryDestination()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
Returns
getBigqueryDestinationBuilder()
public ResourceUsageExportConfig.BigQueryDestination.Builder getBigqueryDestinationBuilder()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
Returns
getBigqueryDestinationOrBuilder()
public ResourceUsageExportConfig.BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()
Configuration to use BigQuery as usage export destination.
.google.container.v1.ResourceUsageExportConfig.BigQueryDestination bigquery_destination = 1;
Returns
getConsumptionMeteringConfig()
public ResourceUsageExportConfig.ConsumptionMeteringConfig getConsumptionMeteringConfig()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
Returns
getConsumptionMeteringConfigBuilder()
public ResourceUsageExportConfig.ConsumptionMeteringConfig.Builder getConsumptionMeteringConfigBuilder()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
Returns
getConsumptionMeteringConfigOrBuilder()
public ResourceUsageExportConfig.ConsumptionMeteringConfigOrBuilder getConsumptionMeteringConfigOrBuilder()
Configuration to enable resource consumption metering.
.google.container.v1.ResourceUsageExportConfig.ConsumptionMeteringConfig consumption_metering_config = 3;
Returns
getDefaultInstanceForType()
public ResourceUsageExportConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
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;
Parameter
Returns
mergeFrom(ResourceUsageExportConfig other)
public ResourceUsageExportConfig.Builder mergeFrom(ResourceUsageExportConfig other)
Parameter
Returns
public ResourceUsageExportConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ResourceUsageExportConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceUsageExportConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceUsageExportConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceUsageExportConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides