Class EntityRisk.Builder (0.3.0)

public static final class EntityRisk.Builder extends GeneratedMessage.Builder<EntityRisk.Builder> implements EntityRiskOrBuilder

Stores information related to the risk score of an entity.

Protobuf type google.backstory.EntityRisk

Implements

EntityRiskOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public EntityRisk build()
Returns
Type Description
EntityRisk

buildPartial()

public EntityRisk buildPartial()
Returns
Type Description
EntityRisk

clear()

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

clearDEPRECATEDRiskScore() (deprecated)

public EntityRisk.Builder clearDEPRECATEDRiskScore()

Deprecated. google.backstory.EntityRisk.DEPRECATED_risk_score is deprecated. See backstory/entity_risk.proto;l=45

Deprecated risk score.

int32 DEPRECATED_risk_score = 3 [json_name = "DEPRECATEDRiskScore", deprecated = true];

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

clearDetailUri()

public EntityRisk.Builder clearDetailUri()

Link to the Google Security Operations UI with information about the entity risk score. If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

string detail_uri = 13;

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

clearDetectionsCount()

public EntityRisk.Builder clearDetectionsCount()

Number of detections that make up the risk score within the time window.

int32 detections_count = 5;

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

clearFirstDetectionTime()

public EntityRisk.Builder clearFirstDetectionTime()

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Returns
Type Description
EntityRisk.Builder

clearLastDetectionTime()

public EntityRisk.Builder clearLastDetectionTime()

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Returns
Type Description
EntityRisk.Builder

clearLastResetTime()

public EntityRisk.Builder clearLastResetTime()

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Returns
Type Description
EntityRisk.Builder

clearNormalizedRiskScore()

public EntityRisk.Builder clearNormalizedRiskScore()

Normalized risk score for the entity. This value is between 0-1000.

int32 normalized_risk_score = 9;

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

clearRawRiskDelta()

public EntityRisk.Builder clearRawRiskDelta()

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Returns
Type Description
EntityRisk.Builder

clearRiskDelta()

public EntityRisk.Builder clearRiskDelta()

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Returns
Type Description
EntityRisk.Builder

clearRiskScore()

public EntityRisk.Builder clearRiskScore()

Raw risk score for the entity.

float risk_score = 8;

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

clearRiskVersion()

public EntityRisk.Builder clearRiskVersion()

Version of the risk score calculation algorithm.

string risk_version = 1;

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

clearRiskWindow()

public EntityRisk.Builder clearRiskWindow()

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Returns
Type Description
EntityRisk.Builder

clearRiskWindowHasNewDetections()

public EntityRisk.Builder clearRiskWindowHasNewDetections()

Whether there are new detections for the risk window.

bool risk_window_has_new_detections = 14;

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

clearRiskWindowSize()

public EntityRisk.Builder clearRiskWindowSize()

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Returns
Type Description
EntityRisk.Builder

getDEPRECATEDRiskScore() (deprecated)

public int getDEPRECATEDRiskScore()

Deprecated. google.backstory.EntityRisk.DEPRECATED_risk_score is deprecated. See backstory/entity_risk.proto;l=45

Deprecated risk score.

int32 DEPRECATED_risk_score = 3 [json_name = "DEPRECATEDRiskScore", deprecated = true];

Returns
Type Description
int

The dEPRECATEDRiskScore.

getDefaultInstanceForType()

public EntityRisk getDefaultInstanceForType()
Returns
Type Description
EntityRisk

getDescriptorForType()

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

getDetailUri()

public String getDetailUri()

Link to the Google Security Operations UI with information about the entity risk score. If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

string detail_uri = 13;

Returns
Type Description
String

The detailUri.

getDetailUriBytes()

public ByteString getDetailUriBytes()

Link to the Google Security Operations UI with information about the entity risk score. If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

string detail_uri = 13;

Returns
Type Description
ByteString

The bytes for detailUri.

getDetectionsCount()

public int getDetectionsCount()

Number of detections that make up the risk score within the time window.

int32 detections_count = 5;

Returns
Type Description
int

The detectionsCount.

getFirstDetectionTime()

public Timestamp getFirstDetectionTime()

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Returns
Type Description
Timestamp

The firstDetectionTime.

getFirstDetectionTimeBuilder()

public Timestamp.Builder getFirstDetectionTimeBuilder()

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Returns
Type Description
Builder

getFirstDetectionTimeOrBuilder()

public TimestampOrBuilder getFirstDetectionTimeOrBuilder()

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Returns
Type Description
TimestampOrBuilder

getLastDetectionTime()

public Timestamp getLastDetectionTime()

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Returns
Type Description
Timestamp

The lastDetectionTime.

getLastDetectionTimeBuilder()

public Timestamp.Builder getLastDetectionTimeBuilder()

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Returns
Type Description
Builder

getLastDetectionTimeOrBuilder()

public TimestampOrBuilder getLastDetectionTimeOrBuilder()

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Returns
Type Description
TimestampOrBuilder

getLastResetTime()

public Timestamp getLastResetTime()

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Returns
Type Description
Timestamp

The lastResetTime.

getLastResetTimeBuilder()

public Timestamp.Builder getLastResetTimeBuilder()

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Returns
Type Description
Builder

getLastResetTimeOrBuilder()

public TimestampOrBuilder getLastResetTimeOrBuilder()

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Returns
Type Description
TimestampOrBuilder

getNormalizedRiskScore()

public int getNormalizedRiskScore()

Normalized risk score for the entity. This value is between 0-1000.

int32 normalized_risk_score = 9;

Returns
Type Description
int

The normalizedRiskScore.

getRawRiskDelta()

public RiskDelta getRawRiskDelta()

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Returns
Type Description
RiskDelta

The rawRiskDelta.

getRawRiskDeltaBuilder()

public RiskDelta.Builder getRawRiskDeltaBuilder()

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Returns
Type Description
RiskDelta.Builder

getRawRiskDeltaOrBuilder()

public RiskDeltaOrBuilder getRawRiskDeltaOrBuilder()

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Returns
Type Description
RiskDeltaOrBuilder

getRiskDelta()

public RiskDelta getRiskDelta()

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Returns
Type Description
RiskDelta

The riskDelta.

getRiskDeltaBuilder()

public RiskDelta.Builder getRiskDeltaBuilder()

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Returns
Type Description
RiskDelta.Builder

getRiskDeltaOrBuilder()

public RiskDeltaOrBuilder getRiskDeltaOrBuilder()

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Returns
Type Description
RiskDeltaOrBuilder

getRiskScore()

public float getRiskScore()

Raw risk score for the entity.

float risk_score = 8;

Returns
Type Description
float

The riskScore.

getRiskVersion()

public String getRiskVersion()

Version of the risk score calculation algorithm.

string risk_version = 1;

Returns
Type Description
String

The riskVersion.

getRiskVersionBytes()

public ByteString getRiskVersionBytes()

Version of the risk score calculation algorithm.

string risk_version = 1;

Returns
Type Description
ByteString

The bytes for riskVersion.

getRiskWindow()

public Interval getRiskWindow()

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Returns
Type Description
com.google.type.Interval

The riskWindow.

getRiskWindowBuilder()

public Interval.Builder getRiskWindowBuilder()

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Returns
Type Description
com.google.type.Interval.Builder

getRiskWindowHasNewDetections()

public boolean getRiskWindowHasNewDetections()

Whether there are new detections for the risk window.

bool risk_window_has_new_detections = 14;

Returns
Type Description
boolean

The riskWindowHasNewDetections.

getRiskWindowOrBuilder()

public IntervalOrBuilder getRiskWindowOrBuilder()

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Returns
Type Description
com.google.type.IntervalOrBuilder

getRiskWindowSize()

public Duration getRiskWindowSize()

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Returns
Type Description
Duration

The riskWindowSize.

getRiskWindowSizeBuilder()

public Duration.Builder getRiskWindowSizeBuilder()

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Returns
Type Description
Builder

getRiskWindowSizeOrBuilder()

public DurationOrBuilder getRiskWindowSizeOrBuilder()

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Returns
Type Description
DurationOrBuilder

hasFirstDetectionTime()

public boolean hasFirstDetectionTime()

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Returns
Type Description
boolean

Whether the firstDetectionTime field is set.

hasLastDetectionTime()

public boolean hasLastDetectionTime()

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Returns
Type Description
boolean

Whether the lastDetectionTime field is set.

hasLastResetTime()

public boolean hasLastResetTime()

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Returns
Type Description
boolean

Whether the lastResetTime field is set.

hasRawRiskDelta()

public boolean hasRawRiskDelta()

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Returns
Type Description
boolean

Whether the rawRiskDelta field is set.

hasRiskDelta()

public boolean hasRiskDelta()

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Returns
Type Description
boolean

Whether the riskDelta field is set.

hasRiskWindow()

public boolean hasRiskWindow()

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Returns
Type Description
boolean

Whether the riskWindow field is set.

hasRiskWindowSize()

public boolean hasRiskWindowSize()

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Returns
Type Description
boolean

Whether the riskWindowSize field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFirstDetectionTime(Timestamp value)

public EntityRisk.Builder mergeFirstDetectionTime(Timestamp value)

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityRisk.Builder

mergeFrom(EntityRisk other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastDetectionTime(Timestamp value)

public EntityRisk.Builder mergeLastDetectionTime(Timestamp value)

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityRisk.Builder

mergeLastResetTime(Timestamp value)

public EntityRisk.Builder mergeLastResetTime(Timestamp value)

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityRisk.Builder

mergeRawRiskDelta(RiskDelta value)

public EntityRisk.Builder mergeRawRiskDelta(RiskDelta value)

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Parameter
Name Description
value RiskDelta
Returns
Type Description
EntityRisk.Builder

mergeRiskDelta(RiskDelta value)

public EntityRisk.Builder mergeRiskDelta(RiskDelta value)

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Parameter
Name Description
value RiskDelta
Returns
Type Description
EntityRisk.Builder

mergeRiskWindow(Interval value)

public EntityRisk.Builder mergeRiskWindow(Interval value)

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
EntityRisk.Builder

mergeRiskWindowSize(Duration value)

public EntityRisk.Builder mergeRiskWindowSize(Duration value)

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Parameter
Name Description
value Duration
Returns
Type Description
EntityRisk.Builder

setDEPRECATEDRiskScore(int value) (deprecated)

public EntityRisk.Builder setDEPRECATEDRiskScore(int value)

Deprecated. google.backstory.EntityRisk.DEPRECATED_risk_score is deprecated. See backstory/entity_risk.proto;l=45

Deprecated risk score.

int32 DEPRECATED_risk_score = 3 [json_name = "DEPRECATEDRiskScore", deprecated = true];

Parameter
Name Description
value int

The dEPRECATEDRiskScore to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setDetailUri(String value)

public EntityRisk.Builder setDetailUri(String value)

Link to the Google Security Operations UI with information about the entity risk score. If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

string detail_uri = 13;

Parameter
Name Description
value String

The detailUri to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setDetailUriBytes(ByteString value)

public EntityRisk.Builder setDetailUriBytes(ByteString value)

Link to the Google Security Operations UI with information about the entity risk score. If the SecOps instance has multiple frontend paths configured, this will be a relative path that can be used to construct the full URL.

string detail_uri = 13;

Parameter
Name Description
value ByteString

The bytes for detailUri to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setDetectionsCount(int value)

public EntityRisk.Builder setDetectionsCount(int value)

Number of detections that make up the risk score within the time window.

int32 detections_count = 5;

Parameter
Name Description
value int

The detectionsCount to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setFirstDetectionTime(Timestamp value)

public EntityRisk.Builder setFirstDetectionTime(Timestamp value)

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityRisk.Builder

setFirstDetectionTime(Timestamp.Builder builderForValue)

public EntityRisk.Builder setFirstDetectionTime(Timestamp.Builder builderForValue)

Timestamp of the first detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp first_detection_time = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityRisk.Builder

setLastDetectionTime(Timestamp value)

public EntityRisk.Builder setLastDetectionTime(Timestamp value)

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityRisk.Builder

setLastDetectionTime(Timestamp.Builder builderForValue)

public EntityRisk.Builder setLastDetectionTime(Timestamp.Builder builderForValue)

Timestamp of the last detection within the specified time window. This field is empty when there are no detections.

.google.protobuf.Timestamp last_detection_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityRisk.Builder

setLastResetTime(Timestamp value)

public EntityRisk.Builder setLastResetTime(Timestamp value)

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Parameter
Name Description
value Timestamp
Returns
Type Description
EntityRisk.Builder

setLastResetTime(Timestamp.Builder builderForValue)

public EntityRisk.Builder setLastResetTime(Timestamp.Builder builderForValue)

Timestamp for UEBA risk score reset based deduplication. Used specifically for risk based meta rules.

.google.protobuf.Timestamp last_reset_time = 12;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityRisk.Builder

setNormalizedRiskScore(int value)

public EntityRisk.Builder setNormalizedRiskScore(int value)

Normalized risk score for the entity. This value is between 0-1000.

int32 normalized_risk_score = 9;

Parameter
Name Description
value int

The normalizedRiskScore to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setRawRiskDelta(RiskDelta value)

public EntityRisk.Builder setRawRiskDelta(RiskDelta value)

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Parameter
Name Description
value RiskDelta
Returns
Type Description
EntityRisk.Builder

setRawRiskDelta(RiskDelta.Builder builderForValue)

public EntityRisk.Builder setRawRiskDelta(RiskDelta.Builder builderForValue)

Represents the change in raw risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta raw_risk_delta = 11;

Parameter
Name Description
builderForValue RiskDelta.Builder
Returns
Type Description
EntityRisk.Builder

setRiskDelta(RiskDelta value)

public EntityRisk.Builder setRiskDelta(RiskDelta value)

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Parameter
Name Description
value RiskDelta
Returns
Type Description
EntityRisk.Builder

setRiskDelta(RiskDelta.Builder builderForValue)

public EntityRisk.Builder setRiskDelta(RiskDelta.Builder builderForValue)

Represents the change in risk score for an entity between the end of the previous time window and the end of the current time window.

optional .google.backstory.RiskDelta risk_delta = 4;

Parameter
Name Description
builderForValue RiskDelta.Builder
Returns
Type Description
EntityRisk.Builder

setRiskScore(float value)

public EntityRisk.Builder setRiskScore(float value)

Raw risk score for the entity.

float risk_score = 8;

Parameter
Name Description
value float

The riskScore to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setRiskVersion(String value)

public EntityRisk.Builder setRiskVersion(String value)

Version of the risk score calculation algorithm.

string risk_version = 1;

Parameter
Name Description
value String

The riskVersion to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setRiskVersionBytes(ByteString value)

public EntityRisk.Builder setRiskVersionBytes(ByteString value)

Version of the risk score calculation algorithm.

string risk_version = 1;

Parameter
Name Description
value ByteString

The bytes for riskVersion to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setRiskWindow(Interval value)

public EntityRisk.Builder setRiskWindow(Interval value)

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Parameter
Name Description
value com.google.type.Interval
Returns
Type Description
EntityRisk.Builder

setRiskWindow(Interval.Builder builderForValue)

public EntityRisk.Builder setRiskWindow(Interval.Builder builderForValue)

Time window used when computing the risk score for an entity, for example 24 hours or 7 days.

.google.type.Interval risk_window = 2;

Parameter
Name Description
builderForValue com.google.type.Interval.Builder
Returns
Type Description
EntityRisk.Builder

setRiskWindowHasNewDetections(boolean value)

public EntityRisk.Builder setRiskWindowHasNewDetections(boolean value)

Whether there are new detections for the risk window.

bool risk_window_has_new_detections = 14;

Parameter
Name Description
value boolean

The riskWindowHasNewDetections to set.

Returns
Type Description
EntityRisk.Builder

This builder for chaining.

setRiskWindowSize(Duration value)

public EntityRisk.Builder setRiskWindowSize(Duration value)

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Parameter
Name Description
value Duration
Returns
Type Description
EntityRisk.Builder

setRiskWindowSize(Duration.Builder builderForValue)

public EntityRisk.Builder setRiskWindowSize(Duration.Builder builderForValue)

Risk window duration for the entity.

.google.protobuf.Duration risk_window_size = 10;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
EntityRisk.Builder