Interface SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder (2.63.0)

public static interface SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract Status getError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getFinding()

public abstract Finding getFinding()

Finding that would be published for the test case, if a violation is detected.

.google.cloud.securitycenter.v1.Finding finding = 1;

Returns
Type Description
Finding

The finding.

getFindingOrBuilder()

public abstract FindingOrBuilder getFindingOrBuilder()

Finding that would be published for the test case, if a violation is detected.

.google.cloud.securitycenter.v1.Finding finding = 1;

Returns
Type Description
FindingOrBuilder

getNoViolation()

public abstract Empty getNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
Empty

The noViolation.

getNoViolationOrBuilder()

public abstract EmptyOrBuilder getNoViolationOrBuilder()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
EmptyOrBuilder

getResultCase()

public abstract SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase

hasError()

public abstract boolean hasError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error field is set.

hasFinding()

public abstract boolean hasFinding()

Finding that would be published for the test case, if a violation is detected.

.google.cloud.securitycenter.v1.Finding finding = 1;

Returns
Type Description
boolean

Whether the finding field is set.

hasNoViolation()

public abstract boolean hasNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
boolean

Whether the noViolation field is set.