Class Indicator.ProcessSignature.YaraRuleSignature.Builder (2.63.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Indicator.ProcessSignature.YaraRuleSignature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Indicator.ProcessSignature.YaraRuleSignature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.