public static final class Incident.Builder extends GeneratedMessageV3.Builder<Incident.Builder> implements IncidentOrBuilder
Representation of an incident.Protobuf type
google.cloud.irm.v1alpha2.IncidentgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<Incident.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<Incident.Builder>public Incident getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic Incident build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic Incident buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic Incident.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<Incident.Builder>public Incident.Builder mergeFrom(Incident other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<Incident.Builder>public Incident.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class AbstractMessage.Builder<Incident.Builder>IOExceptionpublic 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 Incident.Builder setName(String value)
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];value - The name to set.public Incident.Builder clearName()
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];public Incident.Builder setNameBytes(ByteString value)
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];value - The bytes for name to set.public 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 Incident.Builder setTitle(String value)
One-line summary of the incident.
string title = 2;value - The title to set.public Incident.Builder clearTitle()
One-line summary of the incident.
string title = 2;public Incident.Builder setTitleBytes(ByteString value)
One-line summary of the incident.
string title = 2;value - The bytes for title to set.public int getEscalationLevelValue()
Escalation level of the incident.
.google.cloud.irm.v1alpha2.Incident.EscalationLevel escalation_level = 3;getEscalationLevelValue in interface IncidentOrBuilderpublic Incident.Builder setEscalationLevelValue(int value)
Escalation level of the incident.
.google.cloud.irm.v1alpha2.Incident.EscalationLevel escalation_level = 3;value - The enum numeric value on the wire for escalationLevel to set.public Incident.EscalationLevel getEscalationLevel()
Escalation level of the incident.
.google.cloud.irm.v1alpha2.Incident.EscalationLevel escalation_level = 3;getEscalationLevel in interface IncidentOrBuilderpublic Incident.Builder setEscalationLevel(Incident.EscalationLevel value)
Escalation level of the incident.
.google.cloud.irm.v1alpha2.Incident.EscalationLevel escalation_level = 3;value - The escalationLevel to set.public Incident.Builder clearEscalationLevel()
Escalation level of the incident.
.google.cloud.irm.v1alpha2.Incident.EscalationLevel escalation_level = 3;public 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 Incident.Builder setEtag(String value)
Etag to validate the object is unchanged for a read-modify-write operation. An empty etag will overwrite other changes.
string etag = 4;value - The etag to set.public Incident.Builder clearEtag()
Etag to validate the object is unchanged for a read-modify-write operation. An empty etag will overwrite other changes.
string etag = 4;public Incident.Builder setEtagBytes(ByteString value)
Etag to validate the object is unchanged for a read-modify-write operation. An empty etag will overwrite other changes.
string etag = 4;value - The bytes for etag to set.public int getSeverityValue()
Severity of the incident.
.google.cloud.irm.v1alpha2.Incident.Severity severity = 5;getSeverityValue in interface IncidentOrBuilderpublic Incident.Builder setSeverityValue(int value)
Severity of the incident.
.google.cloud.irm.v1alpha2.Incident.Severity severity = 5;value - The enum numeric value on the wire for severity to set.public Incident.Severity getSeverity()
Severity of the incident.
.google.cloud.irm.v1alpha2.Incident.Severity severity = 5;getSeverity in interface IncidentOrBuilderpublic Incident.Builder setSeverity(Incident.Severity value)
Severity of the incident.
.google.cloud.irm.v1alpha2.Incident.Severity severity = 5;value - The severity to set.public Incident.Builder clearSeverity()
Severity of the incident.
.google.cloud.irm.v1alpha2.Incident.Severity severity = 5;public int getStageValue()
Stage of the incident.
.google.cloud.irm.v1alpha2.Incident.Stage stage = 6;getStageValue in interface IncidentOrBuilderpublic Incident.Builder setStageValue(int value)
Stage of the incident.
.google.cloud.irm.v1alpha2.Incident.Stage stage = 6;value - The enum numeric value on the wire for stage to set.public Incident.Stage getStage()
Stage of the incident.
.google.cloud.irm.v1alpha2.Incident.Stage stage = 6;getStage in interface IncidentOrBuilderpublic Incident.Builder setStage(Incident.Stage value)
Stage of the incident.
.google.cloud.irm.v1alpha2.Incident.Stage stage = 6;value - The stage to set.public Incident.Builder clearStage()
Stage of the incident.
.google.cloud.irm.v1alpha2.Incident.Stage stage = 6;public 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 Incident.Builder setDuplicateIncident(String value)
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;value - The duplicateIncident to set.public Incident.Builder clearDuplicateIncident()
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;public Incident.Builder setDuplicateIncidentBytes(ByteString value)
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;value - The bytes for duplicateIncident to set.public 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 Incident.Builder setStartTime(Timestamp value)
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;public Incident.Builder setStartTime(Timestamp.Builder builderForValue)
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;public Incident.Builder mergeStartTime(Timestamp value)
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;public Incident.Builder clearStartTime()
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;public Timestamp.Builder getStartTimeBuilder()
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;public 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 Incident.Builder setSynopsis(Synopsis value)
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;public Incident.Builder setSynopsis(Synopsis.Builder builderForValue)
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;public Incident.Builder mergeSynopsis(Synopsis value)
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;public Incident.Builder clearSynopsis()
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;public Synopsis.Builder getSynopsisBuilder()
Output only. Synopsis of this incident.
.google.cloud.irm.v1alpha2.Synopsis synopsis = 8;public 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.Builder setCommunicationVenue(Incident.CommunicationVenue value)
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;public Incident.Builder setCommunicationVenue(Incident.CommunicationVenue.Builder builderForValue)
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;public Incident.Builder mergeCommunicationVenue(Incident.CommunicationVenue value)
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;public Incident.Builder clearCommunicationVenue()
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;public Incident.CommunicationVenue.Builder getCommunicationVenueBuilder()
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;public 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 Incident.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<Incident.Builder>public final Incident.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<Incident.Builder>Copyright © 2020 Google LLC. All rights reserved.