Class MonitoringConfig.Builder (2.45.0)

public static final class MonitoringConfig.Builder extends GeneratedMessageV3.Builder<MonitoringConfig.Builder> implements MonitoringConfigOrBuilder

MonitoringConfig is cluster monitoring configuration.

Protobuf type google.container.v1.MonitoringConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public MonitoringConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MonitoringConfig.Builder
Overrides

build()

public MonitoringConfig build()
Returns
Type Description
MonitoringConfig

buildPartial()

public MonitoringConfig buildPartial()
Returns
Type Description
MonitoringConfig

clear()

public MonitoringConfig.Builder clear()
Returns
Type Description
MonitoringConfig.Builder
Overrides

clearAdvancedDatapathObservabilityConfig()

public MonitoringConfig.Builder clearAdvancedDatapathObservabilityConfig()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
Type Description
MonitoringConfig.Builder

clearComponentConfig()

public MonitoringConfig.Builder clearComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
Type Description
MonitoringConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public MonitoringConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
MonitoringConfig.Builder
Overrides

clearManagedPrometheusConfig()

public MonitoringConfig.Builder clearManagedPrometheusConfig()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
Type Description
MonitoringConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public MonitoringConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
MonitoringConfig.Builder
Overrides

clone()

public MonitoringConfig.Builder clone()
Returns
Type Description
MonitoringConfig.Builder
Overrides

getAdvancedDatapathObservabilityConfig()

public AdvancedDatapathObservabilityConfig getAdvancedDatapathObservabilityConfig()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
Type Description
AdvancedDatapathObservabilityConfig

The advancedDatapathObservabilityConfig.

getAdvancedDatapathObservabilityConfigBuilder()

public AdvancedDatapathObservabilityConfig.Builder getAdvancedDatapathObservabilityConfigBuilder()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
Type Description
AdvancedDatapathObservabilityConfig.Builder

getAdvancedDatapathObservabilityConfigOrBuilder()

public AdvancedDatapathObservabilityConfigOrBuilder getAdvancedDatapathObservabilityConfigOrBuilder()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
Type Description
AdvancedDatapathObservabilityConfigOrBuilder

getComponentConfig()

public MonitoringComponentConfig getComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
Type Description
MonitoringComponentConfig

The componentConfig.

getComponentConfigBuilder()

public MonitoringComponentConfig.Builder getComponentConfigBuilder()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
Type Description
MonitoringComponentConfig.Builder

getComponentConfigOrBuilder()

public MonitoringComponentConfigOrBuilder getComponentConfigOrBuilder()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
Type Description
MonitoringComponentConfigOrBuilder

getDefaultInstanceForType()

public MonitoringConfig getDefaultInstanceForType()
Returns
Type Description
MonitoringConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getManagedPrometheusConfig()

public ManagedPrometheusConfig getManagedPrometheusConfig()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
Type Description
ManagedPrometheusConfig

The managedPrometheusConfig.

getManagedPrometheusConfigBuilder()

public ManagedPrometheusConfig.Builder getManagedPrometheusConfigBuilder()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
Type Description
ManagedPrometheusConfig.Builder

getManagedPrometheusConfigOrBuilder()

public ManagedPrometheusConfigOrBuilder getManagedPrometheusConfigOrBuilder()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
Type Description
ManagedPrometheusConfigOrBuilder

hasAdvancedDatapathObservabilityConfig()

public boolean hasAdvancedDatapathObservabilityConfig()

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Returns
Type Description
boolean

Whether the advancedDatapathObservabilityConfig field is set.

hasComponentConfig()

public boolean hasComponentConfig()

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Returns
Type Description
boolean

Whether the componentConfig field is set.

hasManagedPrometheusConfig()

public boolean hasManagedPrometheusConfig()

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Returns
Type Description
boolean

Whether the managedPrometheusConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAdvancedDatapathObservabilityConfig(AdvancedDatapathObservabilityConfig value)

public MonitoringConfig.Builder mergeAdvancedDatapathObservabilityConfig(AdvancedDatapathObservabilityConfig value)

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Parameter
Name Description
value AdvancedDatapathObservabilityConfig
Returns
Type Description
MonitoringConfig.Builder

mergeComponentConfig(MonitoringComponentConfig value)

public MonitoringConfig.Builder mergeComponentConfig(MonitoringComponentConfig value)

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Parameter
Name Description
value MonitoringComponentConfig
Returns
Type Description
MonitoringConfig.Builder

mergeFrom(MonitoringConfig other)

public MonitoringConfig.Builder mergeFrom(MonitoringConfig other)
Parameter
Name Description
other MonitoringConfig
Returns
Type Description
MonitoringConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public MonitoringConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MonitoringConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public MonitoringConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
MonitoringConfig.Builder
Overrides

mergeManagedPrometheusConfig(ManagedPrometheusConfig value)

public MonitoringConfig.Builder mergeManagedPrometheusConfig(ManagedPrometheusConfig value)

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Parameter
Name Description
value ManagedPrometheusConfig
Returns
Type Description
MonitoringConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final MonitoringConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MonitoringConfig.Builder
Overrides

setAdvancedDatapathObservabilityConfig(AdvancedDatapathObservabilityConfig value)

public MonitoringConfig.Builder setAdvancedDatapathObservabilityConfig(AdvancedDatapathObservabilityConfig value)

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Parameter
Name Description
value AdvancedDatapathObservabilityConfig
Returns
Type Description
MonitoringConfig.Builder

setAdvancedDatapathObservabilityConfig(AdvancedDatapathObservabilityConfig.Builder builderForValue)

public MonitoringConfig.Builder setAdvancedDatapathObservabilityConfig(AdvancedDatapathObservabilityConfig.Builder builderForValue)

Configuration of Advanced Datapath Observability features.

.google.container.v1.AdvancedDatapathObservabilityConfig advanced_datapath_observability_config = 3;

Parameter
Name Description
builderForValue AdvancedDatapathObservabilityConfig.Builder
Returns
Type Description
MonitoringConfig.Builder

setComponentConfig(MonitoringComponentConfig value)

public MonitoringConfig.Builder setComponentConfig(MonitoringComponentConfig value)

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Parameter
Name Description
value MonitoringComponentConfig
Returns
Type Description
MonitoringConfig.Builder

setComponentConfig(MonitoringComponentConfig.Builder builderForValue)

public MonitoringConfig.Builder setComponentConfig(MonitoringComponentConfig.Builder builderForValue)

Monitoring components configuration

.google.container.v1.MonitoringComponentConfig component_config = 1;

Parameter
Name Description
builderForValue MonitoringComponentConfig.Builder
Returns
Type Description
MonitoringConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public MonitoringConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
MonitoringConfig.Builder
Overrides

setManagedPrometheusConfig(ManagedPrometheusConfig value)

public MonitoringConfig.Builder setManagedPrometheusConfig(ManagedPrometheusConfig value)

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Parameter
Name Description
value ManagedPrometheusConfig
Returns
Type Description
MonitoringConfig.Builder

setManagedPrometheusConfig(ManagedPrometheusConfig.Builder builderForValue)

public MonitoringConfig.Builder setManagedPrometheusConfig(ManagedPrometheusConfig.Builder builderForValue)

Enable Google Cloud Managed Service for Prometheus in the cluster.

.google.container.v1.ManagedPrometheusConfig managed_prometheus_config = 2;

Parameter
Name Description
builderForValue ManagedPrometheusConfig.Builder
Returns
Type Description
MonitoringConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public MonitoringConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
MonitoringConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final MonitoringConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
MonitoringConfig.Builder
Overrides