Interface SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder (2.49.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 Finding getFinding()

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

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

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

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.securitycenter.v1.Finding 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.