Class IncidentList (2.43.0)

public final class IncidentList extends GeneratedMessageV3 implements IncidentListOrBuilder

A widget that displays a list of incidents

Protobuf type google.monitoring.dashboard.v1.IncidentList

Static Fields

MONITORED_RESOURCES_FIELD_NUMBER

public static final int MONITORED_RESOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

POLICY_NAMES_FIELD_NUMBER

public static final int POLICY_NAMES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static IncidentList getDefaultInstance()
Returns
TypeDescription
IncidentList

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static IncidentList.Builder newBuilder()
Returns
TypeDescription
IncidentList.Builder

newBuilder(IncidentList prototype)

public static IncidentList.Builder newBuilder(IncidentList prototype)
Parameter
NameDescription
prototypeIncidentList
Returns
TypeDescription
IncidentList.Builder

parseDelimitedFrom(InputStream input)

public static IncidentList parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IncidentList parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static IncidentList parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IncidentList parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IncidentList parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IncidentList parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IncidentList parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IncidentList parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static IncidentList parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IncidentList parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static IncidentList parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IncidentList parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
IncidentList
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<IncidentList> parser()
Returns
TypeDescription
Parser<IncidentList>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public IncidentList getDefaultInstanceForType()
Returns
TypeDescription
IncidentList

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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.api.MonitoredResourceOrBuilder>

getParserForType()

public Parser<IncidentList> getParserForType()
Returns
TypeDescription
Parser<IncidentList>
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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];

Returns
TypeDescription
ProtocolStringList

A list containing the policyNames.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public IncidentList.Builder newBuilderForType()
Returns
TypeDescription
IncidentList.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected IncidentList.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
IncidentList.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public IncidentList.Builder toBuilder()
Returns
TypeDescription
IncidentList.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException