Class Indicator.ProcessSignature.YaraRuleSignature.Builder (2.91.0)

public static final class Indicator.ProcessSignature.YaraRuleSignature.Builder extends GeneratedMessage.Builder<Indicator.ProcessSignature.YaraRuleSignature.Builder> implements Indicator.ProcessSignature.YaraRuleSignatureOrBuilder

A signature corresponding to a YARA rule.

Protobuf type google.cloud.securitycenter.v1.Indicator.ProcessSignature.YaraRuleSignature

Static Methods

getDescriptor()

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

Methods

build()

public Indicator.ProcessSignature.YaraRuleSignature build()
Returns
Type Description
Indicator.ProcessSignature.YaraRuleSignature

buildPartial()

public Indicator.ProcessSignature.YaraRuleSignature buildPartial()
Returns
Type Description
Indicator.ProcessSignature.YaraRuleSignature

clear()

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

clearYaraRule()

public Indicator.ProcessSignature.YaraRuleSignature.Builder clearYaraRule()

The name of the YARA rule.

string yara_rule = 5;

Returns
Type Description
Indicator.ProcessSignature.YaraRuleSignature.Builder

This builder for chaining.

getDefaultInstanceForType()

public Indicator.ProcessSignature.YaraRuleSignature getDefaultInstanceForType()
Returns
Type Description
Indicator.ProcessSignature.YaraRuleSignature

getDescriptorForType()

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

getYaraRule()

public String getYaraRule()

The name of the YARA rule.

string yara_rule = 5;

Returns
Type Description
String

The yaraRule.

getYaraRuleBytes()

public ByteString getYaraRuleBytes()

The name of the YARA rule.

string yara_rule = 5;

Returns
Type Description
ByteString

The bytes for yaraRule.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Indicator.ProcessSignature.YaraRuleSignature other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setYaraRule(String value)

public Indicator.ProcessSignature.YaraRuleSignature.Builder setYaraRule(String value)

The name of the YARA rule.

string yara_rule = 5;

Parameter
Name Description
value String

The yaraRule to set.

Returns
Type Description
Indicator.ProcessSignature.YaraRuleSignature.Builder

This builder for chaining.

setYaraRuleBytes(ByteString value)

public Indicator.ProcessSignature.YaraRuleSignature.Builder setYaraRuleBytes(ByteString value)

The name of the YARA rule.

string yara_rule = 5;

Parameter
Name Description
value ByteString

The bytes for yaraRule to set.

Returns
Type Description
Indicator.ProcessSignature.YaraRuleSignature.Builder

This builder for chaining.