Interface LoggingComponentConfigOrBuilder (2.46.0)

public interface LoggingComponentConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnableComponents(int index)

public abstract LoggingComponentConfig.Component getEnableComponents(int index)

Select components to collect logs. An empty set would disable all logging.

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

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
LoggingComponentConfig.Component

The enableComponents at the given index.

getEnableComponentsCount()

public abstract int getEnableComponentsCount()

Select components to collect logs. An empty set would disable all logging.

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

Returns
Type Description
int

The count of enableComponents.

getEnableComponentsList()

public abstract List<LoggingComponentConfig.Component> getEnableComponentsList()

Select components to collect logs. An empty set would disable all logging.

repeated .google.container.v1.LoggingComponentConfig.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 logs. An empty set would disable all logging.

repeated .google.container.v1.LoggingComponentConfig.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 logs. An empty set would disable all logging.

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

Returns
Type Description
List<Integer>

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