Class IncidentList.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IncidentList.Builder>
com.google.monitoring.dashboard.v1.IncidentList.Builder
- All Implemented Interfaces:
IncidentListOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- IncidentList
public static final class IncidentList.Builder
extends com.google.protobuf.GeneratedMessage.Builder<IncidentList.Builder>
implements IncidentListOrBuilder
A widget that displays a list of incidentsProtobuf type
google.monitoring.dashboard.v1.IncidentList-
Method Summary
Modifier and TypeMethodDescriptionaddAllMonitoredResources(Iterable<? extends MonitoredResource> values) Optional.addAllPolicyNames(Iterable<String> values) Optional.addMonitoredResources(int index, MonitoredResource value) Optional.addMonitoredResources(int index, MonitoredResource.Builder builderForValue) Optional.Optional.addMonitoredResources(MonitoredResource.Builder builderForValue) Optional.Optional.addMonitoredResourcesBuilder(int index) Optional.addPolicyNames(String value) Optional.addPolicyNamesBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMonitoredResources(int index) Optional.getMonitoredResourcesBuilder(int index) Optional.Optional.intOptional.Optional.getMonitoredResourcesOrBuilder(int index) Optional.List<? extends MonitoredResourceOrBuilder>Optional.getPolicyNames(int index) Optional.com.google.protobuf.ByteStringgetPolicyNamesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(IncidentList other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeMonitoredResources(int index) Optional.setMonitoredResources(int index, MonitoredResource value) Optional.setMonitoredResources(int index, MonitoredResource.Builder builderForValue) Optional.setPolicyNames(int index, String value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<IncidentList.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<IncidentList.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<IncidentList.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IncidentList.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<IncidentList.Builder>
-
mergeFrom
public IncidentList.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IncidentList.Builder>- Throws:
IOException
-
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];- Specified by:
getMonitoredResourcesListin interfaceIncidentListOrBuilder
-
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];- Specified by:
getMonitoredResourcesCountin interfaceIncidentListOrBuilder
-
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];- Specified by:
getMonitoredResourcesin interfaceIncidentListOrBuilder
-
setMonitoredResources
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]; -
setMonitoredResources
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]; -
addMonitoredResources
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]; -
addMonitoredResources
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]; -
addMonitoredResources
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]; -
addMonitoredResources
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]; -
addAllMonitoredResources
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]; -
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]; -
removeMonitoredResources
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]; -
getMonitoredResourcesBuilder
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];- Specified by:
getMonitoredResourcesOrBuilderin interfaceIncidentListOrBuilder
-
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];- Specified by:
getMonitoredResourcesOrBuilderListin interfaceIncidentListOrBuilder
-
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]; -
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]; -
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]; -
getPolicyNamesList
public com.google.protobuf.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];- Specified by:
getPolicyNamesListin interfaceIncidentListOrBuilder- Returns:
- A list containing the policyNames.
-
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];- Specified by:
getPolicyNamesCountin interfaceIncidentListOrBuilder- 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];- Specified by:
getPolicyNamesin interfaceIncidentListOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The policyNames at the given index.
-
getPolicyNamesBytes
public 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];- Specified by:
getPolicyNamesBytesin interfaceIncidentListOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the policyNames at the given index.
-
setPolicyNames
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 to set the value at.value- The policyNames to set.- Returns:
- This builder for chaining.
-
addPolicyNames
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:
value- The policyNames to add.- Returns:
- This builder for chaining.
-
addAllPolicyNames
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:
values- The policyNames to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addPolicyNamesBytes
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:
value- The bytes of the policyNames to add.- Returns:
- This builder for chaining.
-