Class Indicator.ProcessSignature.YaraRuleSignature.Builder (2.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearYaraRule()

public Indicator.ProcessSignature.YaraRuleSignature.Builder clearYaraRule()

The name of the YARA rule.

string yara_rule = 5;

Returns
TypeDescription
Indicator.ProcessSignature.YaraRuleSignature.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getYaraRule()

public String getYaraRule()

The name of the YARA rule.

string yara_rule = 5;

Returns
TypeDescription
String

The yaraRule.

getYaraRuleBytes()

public ByteString getYaraRuleBytes()

The name of the YARA rule.

string yara_rule = 5;

Returns
TypeDescription
ByteString

The bytes for yaraRule.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Indicator.ProcessSignature.YaraRuleSignature other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The yaraRule to set.

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

The bytes for yaraRule to set.

Returns
TypeDescription
Indicator.ProcessSignature.YaraRuleSignature.Builder

This builder for chaining.