Interface IncidentListOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IncidentList,IncidentList.Builder
@Generated
public interface IncidentListOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMonitoredResources(int index) Optional.intOptional.Optional.getMonitoredResourcesOrBuilder(int index) Optional.List<? extends MonitoredResourceOrBuilder>Optional.getPolicyNames(int index) Optional.com.google.protobuf.ByteStringgetPolicyNamesBytes(int index) Optional.intOptional.Optional.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
-
getMonitoredResourcesList
List<MonitoredResource> getMonitoredResourcesList()Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
repeated .google.api.MonitoredResource monitored_resources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getMonitoredResources
Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
repeated .google.api.MonitoredResource monitored_resources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getMonitoredResourcesCount
int getMonitoredResourcesCount()Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
repeated .google.api.MonitoredResource monitored_resources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getMonitoredResourcesOrBuilderList
List<? extends MonitoredResourceOrBuilder> getMonitoredResourcesOrBuilderList()Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
repeated .google.api.MonitoredResource monitored_resources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getMonitoredResourcesOrBuilder
Optional. The monitored resource for which incidents are listed. The resource doesn't need to be fully specified. That is, you can specify the resource type but not the values of the resource labels. The resource type and labels are used for filtering.
repeated .google.api.MonitoredResource monitored_resources = 1 [(.google.api.field_behavior) = OPTIONAL]; -
getPolicyNamesList
Optional. A list of alert policy names to filter the incident list by. Don't include the project ID prefix in the policy name. For example, use `alertPolicies/utilization`.
repeated string policy_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- A list containing the policyNames.
-
getPolicyNamesCount
int getPolicyNamesCount()Optional. A list of alert policy names to filter the incident list by. Don't include the project ID prefix in the policy name. For example, use `alertPolicies/utilization`.
repeated string policy_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The count of policyNames.
-
getPolicyNames
Optional. A list of alert policy names to filter the incident list by. Don't include the project ID prefix in the policy name. For example, use `alertPolicies/utilization`.
repeated string policy_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the element to return.- Returns:
- The policyNames at the given index.
-
getPolicyNamesBytes
com.google.protobuf.ByteString getPolicyNamesBytes(int index) Optional. A list of alert policy names to filter the incident list by. Don't include the project ID prefix in the policy name. For example, use `alertPolicies/utilization`.
repeated string policy_names = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the policyNames at the given index.
-