Class Indicator.Builder (2.49.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.v2.Indicator

Implements

IndicatorOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The domains to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The ipAddresses to add.

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

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.securitycenter.v2.Indicator.ProcessSignature>
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The uris to add.

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

The domains to add.

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

The bytes of the domains to add.

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

The ipAddresses to add.

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

The bytes of the ipAddresses to add.

Returns
TypeDescription
Indicator.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Indicator.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

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

Parameter
NameDescription
builderForValueIndicator.ProcessSignature.Builder
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

Parameters
NameDescription
indexint
valueIndicator.ProcessSignature
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

Parameters
NameDescription
indexint
builderForValueIndicator.ProcessSignature.Builder
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

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

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

The uris to add.

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

The bytes of the uris to add.

Returns
TypeDescription
Indicator.Builder

This builder for chaining.

build()

public Indicator build()
Returns
TypeDescription
Indicator

buildPartial()

public Indicator buildPartial()
Returns
TypeDescription
Indicator

clear()

public Indicator.Builder clear()
Returns
TypeDescription
Indicator.Builder
Overrides

clearDomains()

public Indicator.Builder clearDomains()

List of domains associated to the Finding.

repeated string domains = 2;

Returns
TypeDescription
Indicator.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Indicator.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Indicator.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Indicator.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

Returns
TypeDescription
Indicator.Builder

clearUris()

public Indicator.Builder clearUris()

The list of URIs associated to the Findings.

repeated string uris = 4;

Returns
TypeDescription
Indicator.Builder

This builder for chaining.

clone()

public Indicator.Builder clone()
Returns
TypeDescription
Indicator.Builder
Overrides

getDefaultInstanceForType()

public Indicator getDefaultInstanceForType()
Returns
TypeDescription
Indicator

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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

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

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Indicator other)

public Indicator.Builder mergeFrom(Indicator other)
Parameter
NameDescription
otherIndicator
Returns
TypeDescription
Indicator.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Indicator.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Indicator.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Indicator.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Indicator.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Indicator.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

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

The index to set the value at.

valueString

The domains to set.

Returns
TypeDescription
Indicator.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Indicator.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The ipAddresses to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

Parameters
NameDescription
indexint
valueIndicator.ProcessSignature
Returns
TypeDescription
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.v2.Indicator.ProcessSignature signatures = 3;

Parameters
NameDescription
indexint
builderForValueIndicator.ProcessSignature.Builder
Returns
TypeDescription
Indicator.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Indicator.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The uris to set.

Returns
TypeDescription
Indicator.Builder

This builder for chaining.