Class Artifact (0.3.0)

public final class Artifact extends GeneratedMessage implements ArtifactOrBuilder

Information about an artifact. The artifact can only be an IP.

Protobuf type google.backstory.Artifact

Implements

ArtifactOrBuilder

Static Fields

ANONYMOUS_FIELD_NUMBER

public static final int ANONYMOUS_FIELD_NUMBER
Field Value
Type Description
int

ARTIFACT_CLIENT_FIELD_NUMBER

public static final int ARTIFACT_CLIENT_FIELD_NUMBER
Field Value
Type Description
int

ASN_FIELD_NUMBER

public static final int ASN_FIELD_NUMBER
Field Value
Type Description
int

AS_OWNER_FIELD_NUMBER

public static final int AS_OWNER_FIELD_NUMBER
Field Value
Type Description
int

FIRST_SEEN_TIME_FIELD_NUMBER

public static final int FIRST_SEEN_TIME_FIELD_NUMBER
Field Value
Type Description
int

IP_FIELD_NUMBER

public static final int IP_FIELD_NUMBER
Field Value
Type Description
int

JARM_FIELD_NUMBER

public static final int JARM_FIELD_NUMBER
Field Value
Type Description
int

LAST_HTTPS_CERTIFICATE_DATE_FIELD_NUMBER

public static final int LAST_HTTPS_CERTIFICATE_DATE_FIELD_NUMBER
Field Value
Type Description
int

LAST_HTTPS_CERTIFICATE_FIELD_NUMBER

public static final int LAST_HTTPS_CERTIFICATE_FIELD_NUMBER
Field Value
Type Description
int

LAST_SEEN_TIME_FIELD_NUMBER

public static final int LAST_SEEN_TIME_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

NETWORK_FIELD_NUMBER

public static final int NETWORK_FIELD_NUMBER
Field Value
Type Description
int

PREVALENCE_FIELD_NUMBER

public static final int PREVALENCE_FIELD_NUMBER
Field Value
Type Description
int

REGIONAL_INTERNET_REGISTRY_FIELD_NUMBER

public static final int REGIONAL_INTERNET_REGISTRY_FIELD_NUMBER
Field Value
Type Description
int

RISKS_FIELD_NUMBER

public static final int RISKS_FIELD_NUMBER
Field Value
Type Description
int

TAGS_FIELD_NUMBER

public static final int TAGS_FIELD_NUMBER
Field Value
Type Description
int

TUNNELS_FIELD_NUMBER

public static final int TUNNELS_FIELD_NUMBER
Field Value
Type Description
int

WHOIS_DATE_FIELD_NUMBER

public static final int WHOIS_DATE_FIELD_NUMBER
Field Value
Type Description
int

WHOIS_FIELD_NUMBER

public static final int WHOIS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Artifact getDefaultInstance()
Returns
Type Description
Artifact

getDescriptor()

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

newBuilder()

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

newBuilder(Artifact prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAnonymous()

public boolean getAnonymous()

Whether the VPN tunnels are configured for anonymous browsing or not.

bool anonymous = 17;

Returns
Type Description
boolean

The anonymous.

getArtifactClient()

public ArtifactClient getArtifactClient()

Entity or software accessing or utilizing network resources.

.google.backstory.ArtifactClient artifact_client = 18;

Returns
Type Description
ArtifactClient

The artifactClient.

getArtifactClientOrBuilder()

public ArtifactClientOrBuilder getArtifactClientOrBuilder()

Entity or software accessing or utilizing network resources.

.google.backstory.ArtifactClient artifact_client = 18;

Returns
Type Description
ArtifactClientOrBuilder

getAsOwner()

public String getAsOwner()

Owner of the Autonomous System to which the IP address belongs.

string as_owner = 7;

Returns
Type Description
String

The asOwner.

getAsOwnerBytes()

public ByteString getAsOwnerBytes()

Owner of the Autonomous System to which the IP address belongs.

string as_owner = 7;

Returns
Type Description
ByteString

The bytes for asOwner.

getAsn()

public long getAsn()

Autonomous System Number to which the IP address belongs.

int64 asn = 8;

Returns
Type Description
long

The asn.

getDefaultInstanceForType()

public Artifact getDefaultInstanceForType()
Returns
Type Description
Artifact

getFirstSeenTime()

public Timestamp getFirstSeenTime()

First seen timestamp of the IP in the customer's environment.

.google.protobuf.Timestamp first_seen_time = 3;

Returns
Type Description
Timestamp

The firstSeenTime.

getFirstSeenTimeOrBuilder()

public TimestampOrBuilder getFirstSeenTimeOrBuilder()

First seen timestamp of the IP in the customer's environment.

.google.protobuf.Timestamp first_seen_time = 3;

Returns
Type Description
TimestampOrBuilder

getIp()

public String getIp()

IP address of the artifact. This field can be used as an entity indicator for an external destination IP entity.

string ip = 1;

Returns
Type Description
String

The ip.

getIpBytes()

public ByteString getIpBytes()

IP address of the artifact. This field can be used as an entity indicator for an external destination IP entity.

string ip = 1;

Returns
Type Description
ByteString

The bytes for ip.

getJarm()

public String getJarm()
Returns
Type Description
String

The jarm.

getJarmBytes()

public ByteString getJarmBytes()
Returns
Type Description
ByteString

The bytes for jarm.

getLastHttpsCertificate()

public SSLCertificate getLastHttpsCertificate()

SSL certificate information about the IP address.

.google.backstory.SSLCertificate last_https_certificate = 10;

Returns
Type Description
SSLCertificate

The lastHttpsCertificate.

getLastHttpsCertificateDate()

public Timestamp getLastHttpsCertificateDate()

Most recent date for the certificate in VirusTotal.

.google.protobuf.Timestamp last_https_certificate_date = 11;

Returns
Type Description
Timestamp

The lastHttpsCertificateDate.

getLastHttpsCertificateDateOrBuilder()

public TimestampOrBuilder getLastHttpsCertificateDateOrBuilder()

Most recent date for the certificate in VirusTotal.

.google.protobuf.Timestamp last_https_certificate_date = 11;

Returns
Type Description
TimestampOrBuilder

getLastHttpsCertificateOrBuilder()

public SSLCertificateOrBuilder getLastHttpsCertificateOrBuilder()

SSL certificate information about the IP address.

.google.backstory.SSLCertificate last_https_certificate = 10;

Returns
Type Description
SSLCertificateOrBuilder

getLastSeenTime()

public Timestamp getLastSeenTime()

Last seen timestamp of the IP address in the customer's environment.

.google.protobuf.Timestamp last_seen_time = 4;

Returns
Type Description
Timestamp

The lastSeenTime.

getLastSeenTimeOrBuilder()

public TimestampOrBuilder getLastSeenTimeOrBuilder()

Last seen timestamp of the IP address in the customer's environment.

.google.protobuf.Timestamp last_seen_time = 4;

Returns
Type Description
TimestampOrBuilder

getLocation()

public Location getLocation()

Location of the Artifact's IP address.

.google.backstory.Location location = 5;

Returns
Type Description
Location

The location.

getLocationOrBuilder()

public LocationOrBuilder getLocationOrBuilder()

Location of the Artifact's IP address.

.google.backstory.Location location = 5;

Returns
Type Description
LocationOrBuilder

getNetwork()

public Network getNetwork()

Network information related to the Artifact's IP address.

.google.backstory.Network network = 6;

Returns
Type Description
Network

The network.

getNetworkOrBuilder()

public NetworkOrBuilder getNetworkOrBuilder()

Network information related to the Artifact's IP address.

.google.backstory.Network network = 6;

Returns
Type Description
NetworkOrBuilder

getParserForType()

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

getPrevalence()

public Prevalence getPrevalence()

The prevalence of the artifact within the customer's environment.

.google.backstory.Prevalence prevalence = 2;

Returns
Type Description
Prevalence

The prevalence.

getPrevalenceOrBuilder()

public PrevalenceOrBuilder getPrevalenceOrBuilder()

The prevalence of the artifact within the customer's environment.

.google.backstory.Prevalence prevalence = 2;

Returns
Type Description
PrevalenceOrBuilder

getRegionalInternetRegistry()

public String getRegionalInternetRegistry()

RIR (one of the current RIRs: AFRINIC, ARIN, APNIC, LACNIC or RIPE NCC).

string regional_internet_registry = 12;

Returns
Type Description
String

The regionalInternetRegistry.

getRegionalInternetRegistryBytes()

public ByteString getRegionalInternetRegistryBytes()

RIR (one of the current RIRs: AFRINIC, ARIN, APNIC, LACNIC or RIPE NCC).

string regional_internet_registry = 12;

Returns
Type Description
ByteString

The bytes for regionalInternetRegistry.

getRisks(int index)

public String getRisks(int index)

This field lists potential risks associated with the network activity.

repeated string risks = 19;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The risks at the given index.

getRisksBytes(int index)

public ByteString getRisksBytes(int index)

This field lists potential risks associated with the network activity.

repeated string risks = 19;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the risks at the given index.

getRisksCount()

public int getRisksCount()

This field lists potential risks associated with the network activity.

repeated string risks = 19;

Returns
Type Description
int

The count of risks.

getRisksList()

public ProtocolStringList getRisksList()

This field lists potential risks associated with the network activity.

repeated string risks = 19;

Returns
Type Description
ProtocolStringList

A list containing the risks.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTags(int index)

public String getTags(int index)

Identification attributes

repeated string tags = 13;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public ByteString getTagsBytes(int index)

Identification attributes

repeated string tags = 13;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public int getTagsCount()

Identification attributes

repeated string tags = 13;

Returns
Type Description
int

The count of tags.

getTagsList()

public ProtocolStringList getTagsList()

Identification attributes

repeated string tags = 13;

Returns
Type Description
ProtocolStringList

A list containing the tags.

getTunnels(int index)

public Tunnels getTunnels(int index)

VPN tunnels.

repeated .google.backstory.Tunnels tunnels = 16;

Parameter
Name Description
index int
Returns
Type Description
Tunnels

getTunnelsCount()

public int getTunnelsCount()

VPN tunnels.

repeated .google.backstory.Tunnels tunnels = 16;

Returns
Type Description
int

getTunnelsList()

public List<Tunnels> getTunnelsList()

VPN tunnels.

repeated .google.backstory.Tunnels tunnels = 16;

Returns
Type Description
List<Tunnels>

getTunnelsOrBuilder(int index)

public TunnelsOrBuilder getTunnelsOrBuilder(int index)

VPN tunnels.

repeated .google.backstory.Tunnels tunnels = 16;

Parameter
Name Description
index int
Returns
Type Description
TunnelsOrBuilder

getTunnelsOrBuilderList()

public List<? extends TunnelsOrBuilder> getTunnelsOrBuilderList()

VPN tunnels.

repeated .google.backstory.Tunnels tunnels = 16;

Returns
Type Description
List<? extends com.google.backstory.TunnelsOrBuilder>

getWhois()

public String getWhois()

WHOIS information as returned from the pertinent WHOIS server.

string whois = 14;

Returns
Type Description
String

The whois.

getWhoisBytes()

public ByteString getWhoisBytes()

WHOIS information as returned from the pertinent WHOIS server.

string whois = 14;

Returns
Type Description
ByteString

The bytes for whois.

getWhoisDate()

public Timestamp getWhoisDate()

Date of the last update of the WHOIS record in VirusTotal.

.google.protobuf.Timestamp whois_date = 15;

Returns
Type Description
Timestamp

The whoisDate.

getWhoisDateOrBuilder()

public TimestampOrBuilder getWhoisDateOrBuilder()

Date of the last update of the WHOIS record in VirusTotal.

.google.protobuf.Timestamp whois_date = 15;

Returns
Type Description
TimestampOrBuilder

hasArtifactClient()

public boolean hasArtifactClient()

Entity or software accessing or utilizing network resources.

.google.backstory.ArtifactClient artifact_client = 18;

Returns
Type Description
boolean

Whether the artifactClient field is set.

hasFirstSeenTime()

public boolean hasFirstSeenTime()

First seen timestamp of the IP in the customer's environment.

.google.protobuf.Timestamp first_seen_time = 3;

Returns
Type Description
boolean

Whether the firstSeenTime field is set.

hasLastHttpsCertificate()

public boolean hasLastHttpsCertificate()

SSL certificate information about the IP address.

.google.backstory.SSLCertificate last_https_certificate = 10;

Returns
Type Description
boolean

Whether the lastHttpsCertificate field is set.

hasLastHttpsCertificateDate()

public boolean hasLastHttpsCertificateDate()

Most recent date for the certificate in VirusTotal.

.google.protobuf.Timestamp last_https_certificate_date = 11;

Returns
Type Description
boolean

Whether the lastHttpsCertificateDate field is set.

hasLastSeenTime()

public boolean hasLastSeenTime()

Last seen timestamp of the IP address in the customer's environment.

.google.protobuf.Timestamp last_seen_time = 4;

Returns
Type Description
boolean

Whether the lastSeenTime field is set.

hasLocation()

public boolean hasLocation()

Location of the Artifact's IP address.

.google.backstory.Location location = 5;

Returns
Type Description
boolean

Whether the location field is set.

hasNetwork()

public boolean hasNetwork()

Network information related to the Artifact's IP address.

.google.backstory.Network network = 6;

Returns
Type Description
boolean

Whether the network field is set.

hasPrevalence()

public boolean hasPrevalence()

The prevalence of the artifact within the customer's environment.

.google.backstory.Prevalence prevalence = 2;

Returns
Type Description
boolean

Whether the prevalence field is set.

hasWhoisDate()

public boolean hasWhoisDate()

Date of the last update of the WHOIS record in VirusTotal.

.google.protobuf.Timestamp whois_date = 15;

Returns
Type Description
boolean

Whether the whoisDate field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Artifact.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Artifact.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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