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)
Overrides
toBuilder()
public IncidentList.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides