Class Indicator (2.47.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.v1.Indicator

Implements

IndicatorOrBuilder

Static Fields

DOMAINS_FIELD_NUMBER

public static final int DOMAINS_FIELD_NUMBER
Field Value
TypeDescription
int

IP_ADDRESSES_FIELD_NUMBER

public static final int IP_ADDRESSES_FIELD_NUMBER
Field Value
TypeDescription
int

SIGNATURES_FIELD_NUMBER

public static final int SIGNATURES_FIELD_NUMBER
Field Value
TypeDescription
int

URIS_FIELD_NUMBER

public static final int URIS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Indicator getDefaultInstance()
Returns
TypeDescription
Indicator

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Indicator.Builder newBuilder()
Returns
TypeDescription
Indicator.Builder

newBuilder(Indicator prototype)

public static Indicator.Builder newBuilder(Indicator prototype)
Parameter
NameDescription
prototypeIndicator
Returns
TypeDescription
Indicator.Builder

parseDelimitedFrom(InputStream input)

public static Indicator parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Indicator parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Indicator parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Indicator parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Indicator parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Indicator parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Indicator parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Indicator parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Indicator
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Indicator> parser()
Returns
TypeDescription
Parser<Indicator>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Indicator getDefaultInstanceForType()
Returns
TypeDescription
Indicator

getDomains(int index)

public String getDomains(int index)

List of domains associated to the Finding.

repeated string domains = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of domains.

getDomainsList()

public ProtocolStringList getDomainsList()

List of domains associated to the Finding.

repeated string domains = 2;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the ipAddresses.

getParserForType()

public Parser<Indicator> getParserForType()
Returns
TypeDescription
Parser<Indicator>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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.v1.Indicator.ProcessSignature signatures = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Indicator.ProcessSignature signatures = 3;

Returns
TypeDescription
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.v1.Indicator.ProcessSignature signatures = 3;

Returns
TypeDescription
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.v1.Indicator.ProcessSignature signatures = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Indicator.ProcessSignature signatures = 3;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.Indicator.ProcessSignatureOrBuilder>

getUris(int index)

public String getUris(int index)

The list of URIs associated to the Findings.

repeated string uris = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

The list of URIs associated to the Findings.

repeated string uris = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the uris.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Indicator.Builder newBuilderForType()
Returns
TypeDescription
Indicator.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Indicator.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Indicator.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Indicator.Builder toBuilder()
Returns
TypeDescription
Indicator.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException