Class Indicator.ProcessSignature.YaraRuleSignature.Builder (2.66.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.v2.Indicator.ProcessSignature.YaraRuleSignature

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public Indicator.ProcessSignature.YaraRuleSignature build()

buildPartial()

public Indicator.ProcessSignature.YaraRuleSignature buildPartial()

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

getDefaultInstanceForType()

public Indicator.ProcessSignature.YaraRuleSignature getDefaultInstanceForType()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setUnknownFields(UnknownFieldSet unknownFields)

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