Interface MonitoringConfigOrBuilder (1.54.0)

public interface MonitoringConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackends(int index)

public abstract MonitoringConfig.MonitoringBackend getBackends(int index)

Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.

repeated .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig.MonitoringBackend backends = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
MonitoringConfig.MonitoringBackend

The backends at the given index.

getBackendsCount()

public abstract int getBackendsCount()

Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.

repeated .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig.MonitoringBackend backends = 1;

Returns
Type Description
int

The count of backends.

getBackendsList()

public abstract List<MonitoringConfig.MonitoringBackend> getBackendsList()

Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.

repeated .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig.MonitoringBackend backends = 1;

Returns
Type Description
List<MonitoringBackend>

A list containing the backends.

getBackendsValue(int index)

public abstract int getBackendsValue(int index)

Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.

repeated .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig.MonitoringBackend backends = 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 backends at the given index.

getBackendsValueList()

public abstract List<Integer> getBackendsValueList()

Specifies the list of backends Policy Controller will export to. An empty list would effectively disable metrics export.

repeated .google.cloud.gkehub.policycontroller.v1beta.MonitoringConfig.MonitoringBackend backends = 1;

Returns
Type Description
List<Integer>

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