Class InputsUsed.Builder (0.21.0)

public static final class InputsUsed.Builder extends GeneratedMessage.Builder<InputsUsed.Builder> implements InputsUsedOrBuilder

InputsUsed is a convenience field that tells us which sources of events (if any) were used in the rule. NEXT TAG: 4

Protobuf type google.cloud.chronicle.v1.InputsUsed

Implements

InputsUsedOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public InputsUsed build()
Returns
Type Description
InputsUsed

buildPartial()

public InputsUsed buildPartial()
Returns
Type Description
InputsUsed

clear()

public InputsUsed.Builder clear()
Returns
Type Description
InputsUsed.Builder
Overrides

clearUsesDetection()

public InputsUsed.Builder clearUsesDetection()

Optional. Whether the rule queries detections.

bool uses_detection = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InputsUsed.Builder

This builder for chaining.

clearUsesEntity()

public InputsUsed.Builder clearUsesEntity()

Optional. Whether the rule queries entity events.

bool uses_entity = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InputsUsed.Builder

This builder for chaining.

clearUsesUdm()

public InputsUsed.Builder clearUsesUdm()

Optional. Whether the rule queries UDM events.

bool uses_udm = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
InputsUsed.Builder

This builder for chaining.

getDefaultInstanceForType()

public InputsUsed getDefaultInstanceForType()
Returns
Type Description
InputsUsed

getDescriptorForType()

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

getUsesDetection()

public boolean getUsesDetection()

Optional. Whether the rule queries detections.

bool uses_detection = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The usesDetection.

getUsesEntity()

public boolean getUsesEntity()

Optional. Whether the rule queries entity events.

bool uses_entity = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The usesEntity.

getUsesUdm()

public boolean getUsesUdm()

Optional. Whether the rule queries UDM events.

bool uses_udm = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The usesUdm.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InputsUsed other)

public InputsUsed.Builder mergeFrom(InputsUsed other)
Parameter
Name Description
other InputsUsed
Returns
Type Description
InputsUsed.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InputsUsed.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InputsUsed.Builder
Overrides

setUsesDetection(boolean value)

public InputsUsed.Builder setUsesDetection(boolean value)

Optional. Whether the rule queries detections.

bool uses_detection = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The usesDetection to set.

Returns
Type Description
InputsUsed.Builder

This builder for chaining.

setUsesEntity(boolean value)

public InputsUsed.Builder setUsesEntity(boolean value)

Optional. Whether the rule queries entity events.

bool uses_entity = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The usesEntity to set.

Returns
Type Description
InputsUsed.Builder

This builder for chaining.

setUsesUdm(boolean value)

public InputsUsed.Builder setUsesUdm(boolean value)

Optional. Whether the rule queries UDM events.

bool uses_udm = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The usesUdm to set.

Returns
Type Description
InputsUsed.Builder

This builder for chaining.