Class Indicator.ProcessSignature.Builder (2.45.0)

public static final class Indicator.ProcessSignature.Builder extends GeneratedMessageV3.Builder<Indicator.ProcessSignature.Builder> implements Indicator.ProcessSignatureOrBuilder

Indicates what signature matched this process.

Protobuf type google.cloud.securitycenter.v2.Indicator.ProcessSignature

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Indicator.ProcessSignature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Indicator.ProcessSignature.Builder
Overrides

build()

public Indicator.ProcessSignature build()
Returns
TypeDescription
Indicator.ProcessSignature

buildPartial()

public Indicator.ProcessSignature buildPartial()
Returns
TypeDescription
Indicator.ProcessSignature

clear()

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

clearField(Descriptors.FieldDescriptor field)

public Indicator.ProcessSignature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Indicator.ProcessSignature.Builder
Overrides

clearMemoryHashSignature()

public Indicator.ProcessSignature.Builder clearMemoryHashSignature()

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Returns
TypeDescription
Indicator.ProcessSignature.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Indicator.ProcessSignature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Indicator.ProcessSignature.Builder
Overrides

clearSignature()

public Indicator.ProcessSignature.Builder clearSignature()
Returns
TypeDescription
Indicator.ProcessSignature.Builder

clearSignatureType()

public Indicator.ProcessSignature.Builder clearSignatureType()

Describes the type of resource associated with the signature.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.SignatureType signature_type = 8;

Returns
TypeDescription
Indicator.ProcessSignature.Builder

This builder for chaining.

clearYaraRuleSignature()

public Indicator.ProcessSignature.Builder clearYaraRuleSignature()

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Returns
TypeDescription
Indicator.ProcessSignature.Builder

clone()

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

getDefaultInstanceForType()

public Indicator.ProcessSignature getDefaultInstanceForType()
Returns
TypeDescription
Indicator.ProcessSignature

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMemoryHashSignature()

public Indicator.ProcessSignature.MemoryHashSignature getMemoryHashSignature()

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Returns
TypeDescription
Indicator.ProcessSignature.MemoryHashSignature

The memoryHashSignature.

getMemoryHashSignatureBuilder()

public Indicator.ProcessSignature.MemoryHashSignature.Builder getMemoryHashSignatureBuilder()

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Returns
TypeDescription
Indicator.ProcessSignature.MemoryHashSignature.Builder

getMemoryHashSignatureOrBuilder()

public Indicator.ProcessSignature.MemoryHashSignatureOrBuilder getMemoryHashSignatureOrBuilder()

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Returns
TypeDescription
Indicator.ProcessSignature.MemoryHashSignatureOrBuilder

getSignatureCase()

public Indicator.ProcessSignature.SignatureCase getSignatureCase()
Returns
TypeDescription
Indicator.ProcessSignature.SignatureCase

getSignatureType()

public Indicator.ProcessSignature.SignatureType getSignatureType()

Describes the type of resource associated with the signature.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.SignatureType signature_type = 8;

Returns
TypeDescription
Indicator.ProcessSignature.SignatureType

The signatureType.

getSignatureTypeValue()

public int getSignatureTypeValue()

Describes the type of resource associated with the signature.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.SignatureType signature_type = 8;

Returns
TypeDescription
int

The enum numeric value on the wire for signatureType.

getYaraRuleSignature()

public Indicator.ProcessSignature.YaraRuleSignature getYaraRuleSignature()

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Returns
TypeDescription
Indicator.ProcessSignature.YaraRuleSignature

The yaraRuleSignature.

getYaraRuleSignatureBuilder()

public Indicator.ProcessSignature.YaraRuleSignature.Builder getYaraRuleSignatureBuilder()

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Returns
TypeDescription
Indicator.ProcessSignature.YaraRuleSignature.Builder

getYaraRuleSignatureOrBuilder()

public Indicator.ProcessSignature.YaraRuleSignatureOrBuilder getYaraRuleSignatureOrBuilder()

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Returns
TypeDescription
Indicator.ProcessSignature.YaraRuleSignatureOrBuilder

hasMemoryHashSignature()

public boolean hasMemoryHashSignature()

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Returns
TypeDescription
boolean

Whether the memoryHashSignature field is set.

hasYaraRuleSignature()

public boolean hasYaraRuleSignature()

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Returns
TypeDescription
boolean

Whether the yaraRuleSignature field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Indicator.ProcessSignature other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMemoryHashSignature(Indicator.ProcessSignature.MemoryHashSignature value)

public Indicator.ProcessSignature.Builder mergeMemoryHashSignature(Indicator.ProcessSignature.MemoryHashSignature value)

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Parameter
NameDescription
valueIndicator.ProcessSignature.MemoryHashSignature
Returns
TypeDescription
Indicator.ProcessSignature.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Indicator.ProcessSignature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Indicator.ProcessSignature.Builder
Overrides

mergeYaraRuleSignature(Indicator.ProcessSignature.YaraRuleSignature value)

public Indicator.ProcessSignature.Builder mergeYaraRuleSignature(Indicator.ProcessSignature.YaraRuleSignature value)

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Parameter
NameDescription
valueIndicator.ProcessSignature.YaraRuleSignature
Returns
TypeDescription
Indicator.ProcessSignature.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Indicator.ProcessSignature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Indicator.ProcessSignature.Builder
Overrides

setMemoryHashSignature(Indicator.ProcessSignature.MemoryHashSignature value)

public Indicator.ProcessSignature.Builder setMemoryHashSignature(Indicator.ProcessSignature.MemoryHashSignature value)

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Parameter
NameDescription
valueIndicator.ProcessSignature.MemoryHashSignature
Returns
TypeDescription
Indicator.ProcessSignature.Builder

setMemoryHashSignature(Indicator.ProcessSignature.MemoryHashSignature.Builder builderForValue)

public Indicator.ProcessSignature.Builder setMemoryHashSignature(Indicator.ProcessSignature.MemoryHashSignature.Builder builderForValue)

Signature indicating that a binary family was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.MemoryHashSignature memory_hash_signature = 6;

Parameter
NameDescription
builderForValueIndicator.ProcessSignature.MemoryHashSignature.Builder
Returns
TypeDescription
Indicator.ProcessSignature.Builder

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

public Indicator.ProcessSignature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Indicator.ProcessSignature.Builder
Overrides

setSignatureType(Indicator.ProcessSignature.SignatureType value)

public Indicator.ProcessSignature.Builder setSignatureType(Indicator.ProcessSignature.SignatureType value)

Describes the type of resource associated with the signature.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.SignatureType signature_type = 8;

Parameter
NameDescription
valueIndicator.ProcessSignature.SignatureType

The signatureType to set.

Returns
TypeDescription
Indicator.ProcessSignature.Builder

This builder for chaining.

setSignatureTypeValue(int value)

public Indicator.ProcessSignature.Builder setSignatureTypeValue(int value)

Describes the type of resource associated with the signature.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.SignatureType signature_type = 8;

Parameter
NameDescription
valueint

The enum numeric value on the wire for signatureType to set.

Returns
TypeDescription
Indicator.ProcessSignature.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Indicator.ProcessSignature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Indicator.ProcessSignature.Builder
Overrides

setYaraRuleSignature(Indicator.ProcessSignature.YaraRuleSignature value)

public Indicator.ProcessSignature.Builder setYaraRuleSignature(Indicator.ProcessSignature.YaraRuleSignature value)

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Parameter
NameDescription
valueIndicator.ProcessSignature.YaraRuleSignature
Returns
TypeDescription
Indicator.ProcessSignature.Builder

setYaraRuleSignature(Indicator.ProcessSignature.YaraRuleSignature.Builder builderForValue)

public Indicator.ProcessSignature.Builder setYaraRuleSignature(Indicator.ProcessSignature.YaraRuleSignature.Builder builderForValue)

Signature indicating that a YARA rule was matched.

.google.cloud.securitycenter.v2.Indicator.ProcessSignature.YaraRuleSignature yara_rule_signature = 7;

Parameter
NameDescription
builderForValueIndicator.ProcessSignature.YaraRuleSignature.Builder
Returns
TypeDescription
Indicator.ProcessSignature.Builder