public final class Incident extends GeneratedMessageV3 implements IncidentOrBuilder
Representation of an incident.Protobuf type
google.cloud.irm.v1alpha2.Incident| Modifier and Type | Class and Description |
|---|---|
static class |
Incident.Builder
Representation of an incident.
|
static class |
Incident.CommunicationVenue
CommunicationVenue is a record of where conversations about an incident
are happening.
|
static interface |
Incident.CommunicationVenueOrBuilder |
static class |
Incident.EscalationLevel
Specifies the escalation level of this incident, within the IRM protocol
for handling incidents.
|
static class |
Incident.Severity
Severity of an incident.
|
static class |
Incident.Stage
Stage of an incident.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
COMMUNICATION_VENUE_FIELD_NUMBER |
static int |
DUPLICATE_INCIDENT_FIELD_NUMBER |
static int |
ESCALATION_LEVEL_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
static int |
STAGE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
SYNOPSIS_FIELD_NUMBER |
static int |
TITLE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
public static final int ESCALATION_LEVEL_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
public static final int STAGE_FIELD_NUMBER
public static final int DUPLICATE_INCIDENT_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int SYNOPSIS_FIELD_NUMBER
public static final int COMMUNICATION_VENUE_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class GeneratedMessageV3public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public String getName()
Output only. Resource name of the incident, for example,
"projects/{project_id_or_number}/incidents/{incident_id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface IncidentOrBuilderpublic ByteString getNameBytes()
Output only. Resource name of the incident, for example,
"projects/{project_id_or_number}/incidents/{incident_id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface IncidentOrBuilderpublic String getTitle()
One-line summary of the incident.
string title = 2;getTitle in interface IncidentOrBuilderpublic ByteString getTitleBytes()
One-line summary of the incident.
string title = 2;getTitleBytes in interface IncidentOrBuilderpublic int getEscalationLevelValue()
Escalation level of the incident.
.google.cloud.irm.v1alpha2.Incident.EscalationLevel escalation_level = 3;getEscalationLevelValue in interface IncidentOrBuilderpublic Incident.EscalationLevel getEscalationLevel()
Escalation level of the incident.
.google.cloud.irm.v1alpha2.Incident.EscalationLevel escalation_level = 3;getEscalationLevel in interface IncidentOrBuilderpublic String getEtag()
Etag to validate the object is unchanged for a read-modify-write operation. An empty etag will overwrite other changes.
string etag = 4;getEtag in interface IncidentOrBuilderpublic ByteString getEtagBytes()
Etag to validate the object is unchanged for a read-modify-write operation. An empty etag will overwrite other changes.
string etag = 4;getEtagBytes in interface IncidentOrBuilderpublic int getSeverityValue()
Severity of the incident.
.google.cloud.irm.v1alpha2.Incident.Severity severity = 5;getSeverityValue in interface IncidentOrBuilderpublic Incident.Severity getSeverity()
Severity of the incident.
.google.cloud.irm.v1alpha2.Incident.Severity severity = 5;getSeverity in interface IncidentOrBuilderpublic int getStageValue()
Stage of the incident.
.google.cloud.irm.v1alpha2.Incident.Stage stage = 6;getStageValue in interface IncidentOrBuilderpublic Incident.Stage getStage()
Stage of the incident.
.google.cloud.irm.v1alpha2.Incident.Stage stage = 6;getStage in interface IncidentOrBuilderpublic String getDuplicateIncident()
Resource name of the incident this incident is a duplicate of. Empty if this incident is not a duplicate. An incident can only be a duplicate of an incident that is not marked as a duplicate already. Setting this to a non-empty value must also set the stage to `STAGE_DUPLICATE`. Unsetting this value value must also update `stage` to a value other than `STAGE_DUPLICATE`.
string duplicate_incident = 9;getDuplicateIncident in interface IncidentOrBuilderpublic ByteString getDuplicateIncidentBytes()
Resource name of the incident this incident is a duplicate of. Empty if this incident is not a duplicate. An incident can only be a duplicate of an incident that is not marked as a duplicate already. Setting this to a non-empty value must also set the stage to `STAGE_DUPLICATE`. Unsetting this value value must also update `stage` to a value other than `STAGE_DUPLICATE`.
string duplicate_incident = 9;getDuplicateIncidentBytes in interface IncidentOrBuilderpublic boolean hasStartTime()
Output only. Time this incident started. Used to measure the 'elapsed time'. Start time of an incident is the earliest creation time of any of its Signals or the create time of the incident if no Signals are assigned.
.google.protobuf.Timestamp start_time = 7;hasStartTime in interface IncidentOrBuilderpublic Timestamp getStartTime()
Output only. Time this incident started. Used to measure the 'elapsed time'. Start time of an incident is the earliest creation time of any of its Signals or the create time of the incident if no Signals are assigned.
.google.protobuf.Timestamp start_time = 7;getStartTime in interface IncidentOrBuilderpublic TimestampOrBuilder getStartTimeOrBuilder()
Output only. Time this incident started. Used to measure the 'elapsed time'. Start time of an incident is the earliest creation time of any of its Signals or the create time of the incident if no Signals are assigned.
.google.protobuf.Timestamp start_time = 7;getStartTimeOrBuilder in interface IncidentOrBuilderpublic boolean hasSynopsis()
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;hasSynopsis in interface IncidentOrBuilderpublic Synopsis getSynopsis()
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;getSynopsis in interface IncidentOrBuilderpublic SynopsisOrBuilder getSynopsisOrBuilder()
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;getSynopsisOrBuilder in interface IncidentOrBuilderpublic boolean hasCommunicationVenue()
Location of communications for this incident. This is informational only; IRM does not use this to send messages.
.google.cloud.irm.v1alpha2.Incident.CommunicationVenue communication_venue = 10;hasCommunicationVenue in interface IncidentOrBuilderpublic Incident.CommunicationVenue getCommunicationVenue()
Location of communications for this incident. This is informational only; IRM does not use this to send messages.
.google.cloud.irm.v1alpha2.Incident.CommunicationVenue communication_venue = 10;getCommunicationVenue in interface IncidentOrBuilderpublic Incident.CommunicationVenueOrBuilder getCommunicationVenueOrBuilder()
Location of communications for this incident. This is informational only; IRM does not use this to send messages.
.google.cloud.irm.v1alpha2.Incident.CommunicationVenue communication_venue = 10;getCommunicationVenueOrBuilder in interface IncidentOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static Incident parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Incident parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Incident parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Incident parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Incident parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Incident parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static Incident parseFrom(InputStream input) throws IOException
IOExceptionpublic static Incident parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Incident parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Incident parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Incident parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static Incident parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Incident.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static Incident.Builder newBuilder()
public static Incident.Builder newBuilder(Incident prototype)
public Incident.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected Incident.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static Incident getDefaultInstance()
public Parser<Incident> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public Incident getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2020 Google LLC. All rights reserved.