Interface SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder (0.13.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 SimulatedFinding getFinding()

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

.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;

Returns
Type Description
SimulatedFinding

The finding.

getFindingOrBuilder()

public abstract SimulatedFindingOrBuilder getFindingOrBuilder()

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

.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;

Returns
Type Description
SimulatedFindingOrBuilder

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.securitycentermanagement.v1.SimulatedFinding 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.