Interface SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder (0.8.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
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SimulatedFindingOrBuilder

getNoViolation()

public abstract Empty getNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
TypeDescription
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
TypeDescription
EmptyOrBuilder

getResultCase()

public abstract SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase

hasError()

public abstract boolean hasError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the noViolation field is set.