Interface MonitoringComponentConfigOrBuilder (2.31.0)

public interface MonitoringComponentConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableComponents(int index)

public abstract MonitoringComponentConfig.Component getEnableComponents(int index)

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
MonitoringComponentConfig.Component

The enableComponents at the given index.

getEnableComponentsCount()

public abstract int getEnableComponentsCount()

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;

Returns
TypeDescription
int

The count of enableComponents.

getEnableComponentsList()

public abstract List<MonitoringComponentConfig.Component> getEnableComponentsList()

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;

Returns
TypeDescription
List<Component>

A list containing the enableComponents.

getEnableComponentsValue(int index)

public abstract int getEnableComponentsValue(int index)

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
int

The enum numeric value on the wire of enableComponents at the given index.

getEnableComponentsValueList()

public abstract List<Integer> getEnableComponentsValueList()

Select components to collect metrics. An empty set would disable all monitoring.

repeated .google.container.v1.MonitoringComponentConfig.Component enable_components = 1;

Returns
TypeDescription
List<Integer>

A list containing the enum numeric values on the wire for enableComponents.