Class Indicator (2.51.0)

public final class Indicator extends GeneratedMessageV3 implements IndicatorOrBuilder

Represents what's commonly known as an indicator of compromise (IoC) in computer forensics. This is an artifact observed on a network or in an operating system that, with high confidence, indicates a computer intrusion. For more information, see Indicator of compromise.

Protobuf type google.cloud.securitycenter.v2.Indicator

Implements

IndicatorOrBuilder

Static Fields

DOMAINS_FIELD_NUMBER

public static final int DOMAINS_FIELD_NUMBER
Field Value
Type Description
int

IP_ADDRESSES_FIELD_NUMBER

public static final int IP_ADDRESSES_FIELD_NUMBER
Field Value
Type Description
int

SIGNATURES_FIELD_NUMBER

public static final int SIGNATURES_FIELD_NUMBER
Field Value
Type Description
int

URIS_FIELD_NUMBER

public static final int URIS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Indicator getDefaultInstance()
Returns
Type Description
Indicator

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Indicator.Builder newBuilder()
Returns
Type Description
Indicator.Builder

newBuilder(Indicator prototype)

public static Indicator.Builder newBuilder(Indicator prototype)
Parameter
Name Description
prototype Indicator
Returns
Type Description
Indicator.Builder

parseDelimitedFrom(InputStream input)

public static Indicator parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Indicator
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Indicator parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Indicator
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Indicator parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Indicator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Indicator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Indicator parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Indicator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Indicator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Indicator parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Indicator
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Indicator
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Indicator parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Indicator
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Indicator
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Indicator parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Indicator
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Indicator
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Indicator> parser()
Returns
Type Description
Parser<Indicator>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Indicator getDefaultInstanceForType()
Returns
Type Description
Indicator

getDomains(int index)

public String getDomains(int index)

List of domains associated to the Finding.

repeated string domains = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The domains at the given index.

getDomainsBytes(int index)

public ByteString getDomainsBytes(int index)

List of domains associated to the Finding.

repeated string domains = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the domains at the given index.

getDomainsCount()

public int getDomainsCount()

List of domains associated to the Finding.

repeated string domains = 2;

Returns
Type Description
int

The count of domains.

getDomainsList()

public ProtocolStringList getDomainsList()

List of domains associated to the Finding.

repeated string domains = 2;

Returns
Type Description
ProtocolStringList

A list containing the domains.

getIpAddresses(int index)

public String getIpAddresses(int index)

The list of IP addresses that are associated with the finding.

repeated string ip_addresses = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The ipAddresses at the given index.

getIpAddressesBytes(int index)

public ByteString getIpAddressesBytes(int index)

The list of IP addresses that are associated with the finding.

repeated string ip_addresses = 1;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the ipAddresses at the given index.

getIpAddressesCount()

public int getIpAddressesCount()

The list of IP addresses that are associated with the finding.

repeated string ip_addresses = 1;

Returns
Type Description
int

The count of ipAddresses.

getIpAddressesList()

public ProtocolStringList getIpAddressesList()

The list of IP addresses that are associated with the finding.

repeated string ip_addresses = 1;

Returns
Type Description
ProtocolStringList

A list containing the ipAddresses.

getParserForType()

public Parser<Indicator> getParserForType()
Returns
Type Description
Parser<Indicator>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSignatures(int index)

public Indicator.ProcessSignature getSignatures(int index)

The list of matched signatures indicating that the given process is present in the environment.

repeated .google.cloud.securitycenter.v2.Indicator.ProcessSignature signatures = 3;

Parameter
Name Description
index int
Returns
Type Description
Indicator.ProcessSignature

getSignaturesCount()

public int getSignaturesCount()

The list of matched signatures indicating that the given process is present in the environment.

repeated .google.cloud.securitycenter.v2.Indicator.ProcessSignature signatures = 3;

Returns
Type Description
int

getSignaturesList()

public List<Indicator.ProcessSignature> getSignaturesList()

The list of matched signatures indicating that the given process is present in the environment.

repeated .google.cloud.securitycenter.v2.Indicator.ProcessSignature signatures = 3;

Returns
Type Description
List<ProcessSignature>

getSignaturesOrBuilder(int index)

public Indicator.ProcessSignatureOrBuilder getSignaturesOrBuilder(int index)

The list of matched signatures indicating that the given process is present in the environment.

repeated .google.cloud.securitycenter.v2.Indicator.ProcessSignature signatures = 3;

Parameter
Name Description
index int
Returns
Type Description
Indicator.ProcessSignatureOrBuilder

getSignaturesOrBuilderList()

public List<? extends Indicator.ProcessSignatureOrBuilder> getSignaturesOrBuilderList()

The list of matched signatures indicating that the given process is present in the environment.

repeated .google.cloud.securitycenter.v2.Indicator.ProcessSignature signatures = 3;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.Indicator.ProcessSignatureOrBuilder>

getUris(int index)

public String getUris(int index)

The list of URIs associated to the Findings.

repeated string uris = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The uris at the given index.

getUrisBytes(int index)

public ByteString getUrisBytes(int index)

The list of URIs associated to the Findings.

repeated string uris = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the uris at the given index.

getUrisCount()

public int getUrisCount()

The list of URIs associated to the Findings.

repeated string uris = 4;

Returns
Type Description
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

The list of URIs associated to the Findings.

repeated string uris = 4;

Returns
Type Description
ProtocolStringList

A list containing the uris.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Indicator.Builder newBuilderForType()
Returns
Type Description
Indicator.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Indicator.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Indicator.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Indicator.Builder toBuilder()
Returns
Type Description
Indicator.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException