Interface LoggingComponentConfigOrBuilder (2.22.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.v1beta1.LoggingComponentConfig.Component enable_components = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.v1beta1.LoggingComponentConfig.Component enable_components = 1;

Returns
TypeDescription
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.v1beta1.LoggingComponentConfig.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 logs. An empty set would disable all logging.

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

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

Returns
TypeDescription
List<Integer>

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