Interface MonitoringComponentConfigOrBuilder (2.58.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
List<Integer>

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