Interface MonitoringConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MonitoringConfig,MonitoringConfig.Builder
@Generated
public interface MonitoringConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBackends(int index) Specifies the list of backends Policy Controller will export to.intSpecifies the list of backends Policy Controller will export to.Specifies the list of backends Policy Controller will export to.intgetBackendsValue(int index) Specifies the list of backends Policy Controller will export to.Specifies the list of backends Policy Controller will export to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getBackendsList
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:
- A list containing the backends.
-
getBackendsCount
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:
- The count of backends.
-
getBackends
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;- Parameters:
index- The index of the element to return.- Returns:
- The backends at the given index.
-
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:
- A list containing the enum numeric values on the wire for backends.
-
getBackendsValue
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;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of backends at the given index.
-