public final class Investigation extends GeneratedMessage implements InvestigationOrBuilder
Represents the aggregated state of an investigation such as categorization,
severity, and status. Can be expanded to include analyst assignment details
and more.
Protobuf type google.backstory.Investigation
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int COMMENTS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REASON_FIELD_NUMBER
public static final int REASON_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REPUTATION_FIELD_NUMBER
public static final int REPUTATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RISK_SCORE_FIELD_NUMBER
public static final int RISK_SCORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ROOT_CAUSE_FIELD_NUMBER
public static final int ROOT_CAUSE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEVERITY_SCORE_FIELD_NUMBER
public static final int SEVERITY_SCORE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VERDICT_FIELD_NUMBER
public static final int VERDICT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Investigation getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Investigation.Builder newBuilder()
newBuilder(Investigation prototype)
public static Investigation.Builder newBuilder(Investigation prototype)
parseDelimitedFrom(InputStream input)
public static Investigation parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Investigation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Investigation parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Investigation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Investigation parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Investigation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Investigation parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Investigation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Investigation parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Investigation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Investigation parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Investigation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Investigation> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public String getComments(int index)
Comment added by the Analyst.
repeated string comments = 6;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The comments at the given index.
|
public ByteString getCommentsBytes(int index)
Comment added by the Analyst.
repeated string comments = 6;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the comments at the given index.
|
public int getCommentsCount()
Comment added by the Analyst.
repeated string comments = 6;
| Returns |
| Type |
Description |
int |
The count of comments.
|
public ProtocolStringList getCommentsList()
Comment added by the Analyst.
repeated string comments = 6;
getDefaultInstanceForType()
public Investigation getDefaultInstanceForType()
getId()
Identifier for the investigation
optional string id = 11;
| Returns |
| Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Identifier for the investigation
optional string id = 11;
| Returns |
| Type |
Description |
ByteString |
The bytes for id.
|
getParserForType()
public Parser<Investigation> getParserForType()
Overrides
getPriority()
public Priority getPriority()
Priority of the Alert or Finding set by analyst.
optional .google.backstory.Priority priority = 7;
| Returns |
| Type |
Description |
Priority |
The priority.
|
getPriorityValue()
public int getPriorityValue()
Priority of the Alert or Finding set by analyst.
optional .google.backstory.Priority priority = 7;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for priority.
|
getReason()
public Reason getReason()
Reason for closing the Case or Alert.
optional .google.backstory.Reason reason = 9;
| Returns |
| Type |
Description |
Reason |
The reason.
|
getReasonValue()
public int getReasonValue()
Reason for closing the Case or Alert.
optional .google.backstory.Reason reason = 9;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for reason.
|
getReputation()
public Reputation getReputation()
Describes whether a finding was useful or not-useful.
optional .google.backstory.Reputation reputation = 3;
| Returns |
| Type |
Description |
Reputation |
The reputation.
|
getReputationValue()
public int getReputationValue()
Describes whether a finding was useful or not-useful.
optional .google.backstory.Reputation reputation = 3;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for reputation.
|
getRiskScore()
public int getRiskScore()
Risk score for a finding set by an analyst.
optional uint32 risk_score = 10;
| Returns |
| Type |
Description |
int |
The riskScore.
|
getRootCause()
public String getRootCause()
Root cause of the Alert or Finding set by analyst.
optional string root_cause = 8;
| Returns |
| Type |
Description |
String |
The rootCause.
|
getRootCauseBytes()
public ByteString getRootCauseBytes()
Root cause of the Alert or Finding set by analyst.
optional string root_cause = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for rootCause.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSeverityScore()
public int getSeverityScore()
Severity score for a finding set by an analyst.
optional uint32 severity_score = 4;
| Returns |
| Type |
Description |
int |
The severityScore.
|
getStatus()
public Status getStatus()
Describes the workflow status of a finding.
optional .google.backstory.Status status = 5;
| Returns |
| Type |
Description |
Status |
The status.
|
getStatusValue()
public int getStatusValue()
Describes the workflow status of a finding.
optional .google.backstory.Status status = 5;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for status.
|
getVerdict()
public Verdict getVerdict()
Describes reason a finding investigation was resolved.
optional .google.backstory.Verdict verdict = 2;
| Returns |
| Type |
Description |
Verdict |
The verdict.
|
getVerdictValue()
public int getVerdictValue()
Describes reason a finding investigation was resolved.
optional .google.backstory.Verdict verdict = 2;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for verdict.
|
hasId()
Identifier for the investigation
optional string id = 11;
| Returns |
| Type |
Description |
boolean |
Whether the id field is set.
|
hasPriority()
public boolean hasPriority()
Priority of the Alert or Finding set by analyst.
optional .google.backstory.Priority priority = 7;
| Returns |
| Type |
Description |
boolean |
Whether the priority field is set.
|
hasReason()
public boolean hasReason()
Reason for closing the Case or Alert.
optional .google.backstory.Reason reason = 9;
| Returns |
| Type |
Description |
boolean |
Whether the reason field is set.
|
hasReputation()
public boolean hasReputation()
Describes whether a finding was useful or not-useful.
optional .google.backstory.Reputation reputation = 3;
| Returns |
| Type |
Description |
boolean |
Whether the reputation field is set.
|
hasRiskScore()
public boolean hasRiskScore()
Risk score for a finding set by an analyst.
optional uint32 risk_score = 10;
| Returns |
| Type |
Description |
boolean |
Whether the riskScore field is set.
|
hasRootCause()
public boolean hasRootCause()
Root cause of the Alert or Finding set by analyst.
optional string root_cause = 8;
| Returns |
| Type |
Description |
boolean |
Whether the rootCause field is set.
|
hasSeverityScore()
public boolean hasSeverityScore()
Severity score for a finding set by an analyst.
optional uint32 severity_score = 4;
| Returns |
| Type |
Description |
boolean |
Whether the severityScore field is set.
|
hasStatus()
public boolean hasStatus()
Describes the workflow status of a finding.
optional .google.backstory.Status status = 5;
| Returns |
| Type |
Description |
boolean |
Whether the status field is set.
|
hasVerdict()
public boolean hasVerdict()
Describes reason a finding investigation was resolved.
optional .google.backstory.Verdict verdict = 2;
| Returns |
| Type |
Description |
boolean |
Whether the verdict field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Investigation.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Investigation.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Investigation.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides