- 2.87.0 (latest)
- 2.85.0
- 2.84.0
- 2.82.0
- 2.80.0
- 2.78.0
- 2.77.0
- 2.76.0
- 2.75.0
- 2.74.0
- 2.72.0
- 2.70.0
- 2.69.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.0
- 2.3.0
- 2.2.6
public static final class IncidentList.Builder extends GeneratedMessage.Builder<IncidentList.Builder> implements IncidentListOrBuilderA widget that displays a list of incidents
Protobuf type google.monitoring.dashboard.v1.IncidentList
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IncidentList.BuilderImplements
IncidentListOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllMonitoredResources(Iterable<? extends MonitoredResource> values)
public IncidentList.Builder addAllMonitoredResources(Iterable<? extends MonitoredResource> values)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 |
values |
Iterable<? extends com.google.api.MonitoredResource> |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
addAllPolicyNames(Iterable<String> values)
public IncidentList.Builder addAllPolicyNames(Iterable<String> values) 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 |
values |
Iterable<String>The policyNames to add. |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
This builder for chaining. |
addMonitoredResources(MonitoredResource value)
public IncidentList.Builder addMonitoredResources(MonitoredResource value)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 |
value |
com.google.api.MonitoredResource |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
addMonitoredResources(MonitoredResource.Builder builderForValue)
public IncidentList.Builder addMonitoredResources(MonitoredResource.Builder builderForValue)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 |
builderForValue |
com.google.api.MonitoredResource.Builder |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
addMonitoredResources(int index, MonitoredResource value)
public IncidentList.Builder addMonitoredResources(int index, MonitoredResource value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
com.google.api.MonitoredResource |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
addMonitoredResources(int index, MonitoredResource.Builder builderForValue)
public IncidentList.Builder addMonitoredResources(int index, MonitoredResource.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
com.google.api.MonitoredResource.Builder |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
addMonitoredResourcesBuilder()
public MonitoredResource.Builder addMonitoredResourcesBuilder()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 |
com.google.api.MonitoredResource.Builder |
|
addMonitoredResourcesBuilder(int index)
public MonitoredResource.Builder addMonitoredResourcesBuilder(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.Builder |
|
addPolicyNames(String value)
public IncidentList.Builder addPolicyNames(String value) 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 |
value |
StringThe policyNames to add. |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
This builder for chaining. |
addPolicyNamesBytes(ByteString value)
public IncidentList.Builder addPolicyNamesBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the policyNames to add. |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
This builder for chaining. |
build()
public IncidentList build()| Returns | |
|---|---|
| Type | Description |
IncidentList |
|
buildPartial()
public IncidentList buildPartial()| Returns | |
|---|---|
| Type | Description |
IncidentList |
|
clear()
public IncidentList.Builder clear()| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
clearMonitoredResources()
public IncidentList.Builder clearMonitoredResources()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 |
IncidentList.Builder |
|
clearPolicyNames()
public IncidentList.Builder clearPolicyNames() 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 |
IncidentList.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IncidentList getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IncidentList |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
|
getMonitoredResourcesBuilder(int index)
public MonitoredResource.Builder getMonitoredResourcesBuilder(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.Builder |
|
getMonitoredResourcesBuilderList()
public List<MonitoredResource.Builder> getMonitoredResourcesBuilderList()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.Builder> |
|
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> |
|
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 |
intThe 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 |
intThe 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];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the policyNames. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IncidentList other)
public IncidentList.Builder mergeFrom(IncidentList other)| Parameter | |
|---|---|
| Name | Description |
other |
IncidentList |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IncidentList.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IncidentList.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
removeMonitoredResources(int index)
public IncidentList.Builder removeMonitoredResources(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 |
IncidentList.Builder |
|
setMonitoredResources(int index, MonitoredResource value)
public IncidentList.Builder setMonitoredResources(int index, MonitoredResource value)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
com.google.api.MonitoredResource |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
setMonitoredResources(int index, MonitoredResource.Builder builderForValue)
public IncidentList.Builder setMonitoredResources(int index, MonitoredResource.Builder builderForValue)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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
com.google.api.MonitoredResource.Builder |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
|
setPolicyNames(int index, String value)
public IncidentList.Builder setPolicyNames(int index, String value) 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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe policyNames to set. |
| Returns | |
|---|---|
| Type | Description |
IncidentList.Builder |
This builder for chaining. |