Interface SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder (0.5.0)

publicstaticinterface SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

publicabstractStatusgetError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

publicabstractStatusOrBuildergetErrorOrBuilder()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
com.google.rpc.StatusOrBuilder

getFinding()

publicabstractSimulatedFindinggetFinding()

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()

publicabstractSimulatedFindingOrBuildergetFindingOrBuilder()

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()

publicabstractEmptygetNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
Empty

The noViolation.

getNoViolationOrBuilder()

publicabstractEmptyOrBuildergetNoViolationOrBuilder()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
Type Description
EmptyOrBuilder

getResultCase()

publicabstractSimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCasegetResultCase()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase

hasError()

publicabstractbooleanhasError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
boolean

Whether the error field is set.

hasFinding()

publicabstractbooleanhasFinding()

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()

publicabstractbooleanhasNoViolation()

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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.