Send feedback
Class IncidentList (2.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.45.0 keyboard_arrow_down
public final class IncidentList extends GeneratedMessageV3 implements IncidentListOrBuilder
A widget that displays a list of incidents
Protobuf type google.monitoring.dashboard.v1.IncidentList
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
MONITORED_RESOURCES_FIELD_NUMBER
public static final int MONITORED_RESOURCES_FIELD_NUMBER
Field Value
Type
Description
int
POLICY_NAMES_FIELD_NUMBER
public static final int POLICY_NAMES_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static IncidentList getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static IncidentList . Builder newBuilder ()
newBuilder(IncidentList prototype)
public static IncidentList . Builder newBuilder ( IncidentList prototype )
public static IncidentList parseDelimitedFrom ( InputStream input )
public static IncidentList parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static IncidentList parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static IncidentList parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static IncidentList parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static IncidentList parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static IncidentList parseFrom ( CodedInputStream input )
public static IncidentList parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static IncidentList parseFrom ( InputStream input )
public static IncidentList parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static IncidentList parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static IncidentList parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<IncidentList> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public IncidentList getDefaultInstanceForType ()
getMonitoredResources(int index)
public MonitoredResource getMonitoredResources ( int index )
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];
Parameter
Name
Description
index
int
Returns
Type
Description
com.google.api.MonitoredResource
getMonitoredResourcesCount()
public 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];
Returns
Type
Description
int
getMonitoredResourcesList()
public 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];
Returns
Type
Description
List <com.google.api.MonitoredResource >
getMonitoredResourcesOrBuilder(int index)
public MonitoredResourceOrBuilder getMonitoredResourcesOrBuilder ( int index )
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];
Parameter
Name
Description
index
int
Returns
Type
Description
com.google.api.MonitoredResourceOrBuilder
getMonitoredResourcesOrBuilderList()
public 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];
Returns
Type
Description
List <? extends com.google.api.MonitoredResourceOrBuilder >
getParserForType()
public Parser<IncidentList> getParserForType ()
Overrides
getPolicyNames(int index)
public String getPolicyNames ( 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];
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The policyNames at the given index.
getPolicyNamesBytes(int index)
public 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];
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the policyNames at the given index.
getPolicyNamesCount()
public 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
Type
Description
int
The count of policyNames.
getPolicyNamesList()
public ProtocolStringList 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];
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public IncidentList . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected IncidentList . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public IncidentList . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."]]