Class Indicator.Builder (2.59.0)

public static final class Indicator.Builder extends GeneratedMessageV3.Builder<Indicator.Builder> 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 Methods

getDescriptor()

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

Methods

addAllDomains(Iterable<String> values)

public Indicator.Builder addAllDomains(Iterable<String> values)

List of domains associated to the Finding.

repeated string domains = 2;

Parameter
Name Description
values Iterable<String>

The domains to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addAllIpAddresses(Iterable<String> values)

public Indicator.Builder addAllIpAddresses(Iterable<String> values)

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

repeated string ip_addresses = 1;

Parameter
Name Description
values Iterable<String>

The ipAddresses to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addAllSignatures(Iterable<? extends Indicator.ProcessSignature> values)

public Indicator.Builder addAllSignatures(Iterable<? extends Indicator.ProcessSignature> values)

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
Name Description
values Iterable<? extends com.google.cloud.securitycenter.v1.Indicator.ProcessSignature>
Returns
Type Description
Indicator.Builder

addAllUris(Iterable<String> values)

public Indicator.Builder addAllUris(Iterable<String> values)

The list of URIs associated to the Findings.

repeated string uris = 4;

Parameter
Name Description
values Iterable<String>

The uris to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addDomains(String value)

public Indicator.Builder addDomains(String value)

List of domains associated to the Finding.

repeated string domains = 2;

Parameter
Name Description
value String

The domains to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addDomainsBytes(ByteString value)

public Indicator.Builder addDomainsBytes(ByteString value)

List of domains associated to the Finding.

repeated string domains = 2;

Parameter
Name Description
value ByteString

The bytes of the domains to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addIpAddresses(String value)

public Indicator.Builder addIpAddresses(String value)

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

repeated string ip_addresses = 1;

Parameter
Name Description
value String

The ipAddresses to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addIpAddressesBytes(ByteString value)

public Indicator.Builder addIpAddressesBytes(ByteString value)

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

repeated string ip_addresses = 1;

Parameter
Name Description
value ByteString

The bytes of the ipAddresses to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Indicator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Indicator.Builder
Overrides

addSignatures(Indicator.ProcessSignature value)

public Indicator.Builder addSignatures(Indicator.ProcessSignature value)

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
Name Description
value Indicator.ProcessSignature
Returns
Type Description
Indicator.Builder

addSignatures(Indicator.ProcessSignature.Builder builderForValue)

public Indicator.Builder addSignatures(Indicator.ProcessSignature.Builder builderForValue)

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
Name Description
builderForValue Indicator.ProcessSignature.Builder
Returns
Type Description
Indicator.Builder

addSignatures(int index, Indicator.ProcessSignature value)

public Indicator.Builder addSignatures(int index, Indicator.ProcessSignature value)

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

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

Parameters
Name Description
index int
value Indicator.ProcessSignature
Returns
Type Description
Indicator.Builder

addSignatures(int index, Indicator.ProcessSignature.Builder builderForValue)

public Indicator.Builder addSignatures(int index, Indicator.ProcessSignature.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Indicator.ProcessSignature.Builder
Returns
Type Description
Indicator.Builder

addSignaturesBuilder()

public Indicator.ProcessSignature.Builder addSignaturesBuilder()

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
Type Description
Indicator.ProcessSignature.Builder

addSignaturesBuilder(int index)

public Indicator.ProcessSignature.Builder addSignaturesBuilder(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
Name Description
index int
Returns
Type Description
Indicator.ProcessSignature.Builder

addUris(String value)

public Indicator.Builder addUris(String value)

The list of URIs associated to the Findings.

repeated string uris = 4;

Parameter
Name Description
value String

The uris to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

addUrisBytes(ByteString value)

public Indicator.Builder addUrisBytes(ByteString value)

The list of URIs associated to the Findings.

repeated string uris = 4;

Parameter
Name Description
value ByteString

The bytes of the uris to add.

Returns
Type Description
Indicator.Builder

This builder for chaining.

build()

public Indicator build()
Returns
Type Description
Indicator

buildPartial()

public Indicator buildPartial()
Returns
Type Description
Indicator

clear()

public Indicator.Builder clear()
Returns
Type Description
Indicator.Builder
Overrides

clearDomains()

public Indicator.Builder clearDomains()

List of domains associated to the Finding.

repeated string domains = 2;

Returns
Type Description
Indicator.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Indicator.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Indicator.Builder
Overrides

clearIpAddresses()

public Indicator.Builder clearIpAddresses()

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

repeated string ip_addresses = 1;

Returns
Type Description
Indicator.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Indicator.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Indicator.Builder
Overrides

clearSignatures()

public Indicator.Builder clearSignatures()

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
Type Description
Indicator.Builder

clearUris()

public Indicator.Builder clearUris()

The list of URIs associated to the Findings.

repeated string uris = 4;

Returns
Type Description
Indicator.Builder

This builder for chaining.

clone()

public Indicator.Builder clone()
Returns
Type Description
Indicator.Builder
Overrides

getDefaultInstanceForType()

public Indicator getDefaultInstanceForType()
Returns
Type Description
Indicator

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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
Name Description
index int
Returns
Type Description
Indicator.ProcessSignature

getSignaturesBuilder(int index)

public Indicator.ProcessSignature.Builder getSignaturesBuilder(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
Name Description
index int
Returns
Type Description
Indicator.ProcessSignature.Builder

getSignaturesBuilderList()

public List<Indicator.ProcessSignature.Builder> getSignaturesBuilderList()

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
Type Description
List<Builder>

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

Returns
Type Description
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
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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Indicator other)

public Indicator.Builder mergeFrom(Indicator other)
Parameter
Name Description
other Indicator
Returns
Type Description
Indicator.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Indicator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Indicator.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Indicator.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Indicator.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Indicator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Indicator.Builder
Overrides

removeSignatures(int index)

public Indicator.Builder removeSignatures(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
Name Description
index int
Returns
Type Description
Indicator.Builder

setDomains(int index, String value)

public Indicator.Builder setDomains(int index, String value)

List of domains associated to the Finding.

repeated string domains = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The domains to set.

Returns
Type Description
Indicator.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Indicator.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Indicator.Builder
Overrides

setIpAddresses(int index, String value)

public Indicator.Builder setIpAddresses(int index, String value)

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

repeated string ip_addresses = 1;

Parameters
Name Description
index int

The index to set the value at.

value String

The ipAddresses to set.

Returns
Type Description
Indicator.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Indicator.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Indicator.Builder
Overrides

setSignatures(int index, Indicator.ProcessSignature value)

public Indicator.Builder setSignatures(int index, Indicator.ProcessSignature value)

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

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

Parameters
Name Description
index int
value Indicator.ProcessSignature
Returns
Type Description
Indicator.Builder

setSignatures(int index, Indicator.ProcessSignature.Builder builderForValue)

public Indicator.Builder setSignatures(int index, Indicator.ProcessSignature.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Indicator.ProcessSignature.Builder
Returns
Type Description
Indicator.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Indicator.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Indicator.Builder
Overrides

setUris(int index, String value)

public Indicator.Builder setUris(int index, String value)

The list of URIs associated to the Findings.

repeated string uris = 4;

Parameters
Name Description
index int

The index to set the value at.

value String

The uris to set.

Returns
Type Description
Indicator.Builder

This builder for chaining.