public static final class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder extends GeneratedMessage.Builder<SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder> implements SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilderPossible test result.
Protobuf type
google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult build()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult |
|
buildPartial()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult buildPartial()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult |
|
clear()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
clearError()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearError()Error encountered during the test.
.google.rpc.Status error = 3;
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
clearFinding()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearFinding()Finding that would be published for the test case if a violation is detected.
.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
clearNoViolation()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearNoViolation()Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
clearResult()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearResult()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
getDefaultInstanceForType()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getError()
public Status getError()Error encountered during the test.
.google.rpc.Status error = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()Error encountered during the test.
.google.rpc.Status error = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.Status.Builder |
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()Error encountered during the test.
.google.rpc.Status error = 3;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.StatusOrBuilder |
|
getFinding()
public 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. |
getFindingBuilder()
public SimulatedFinding.Builder getFindingBuilder()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.Builder |
|
getFindingOrBuilder()
public 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 Empty getNoViolation()Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
| Returns | |
|---|---|
| Type | Description |
Empty |
The noViolation. |
getNoViolationBuilder()
public Empty.Builder getNoViolationBuilder()Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getNoViolationOrBuilder()
public EmptyOrBuilder getNoViolationOrBuilder()Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
| Returns | |
|---|---|
| Type | Description |
EmptyOrBuilder |
|
getResultCase()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase |
|
hasError()
public boolean hasError()Error encountered during the test.
.google.rpc.Status error = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the error field is set. |
hasFinding()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeError(Status value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeError(Status value)Error encountered during the test.
.google.rpc.Status error = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
mergeFinding(SimulatedFinding value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFinding(SimulatedFinding value)Finding that would be published for the test case if a violation is detected.
.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SimulatedFinding |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult other)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult other)| Parameter | |
|---|---|
| Name | Description |
other |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
mergeNoViolation(Empty value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeNoViolation(Empty value)Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Empty |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
setError(Status value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setError(Status value)Error encountered during the test.
.google.rpc.Status error = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.Status |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
setError(Status.Builder builderForValue)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setError(Status.Builder builderForValue)Error encountered during the test.
.google.rpc.Status error = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
setFinding(SimulatedFinding value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setFinding(SimulatedFinding value)Finding that would be published for the test case if a violation is detected.
.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SimulatedFinding |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
setFinding(SimulatedFinding.Builder builderForValue)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setFinding(SimulatedFinding.Builder builderForValue)Finding that would be published for the test case if a violation is detected.
.google.cloud.securitycentermanagement.v1.SimulatedFinding finding = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SimulatedFinding.Builder |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
setNoViolation(Empty value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setNoViolation(Empty value)Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Empty |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|
setNoViolation(Empty.Builder builderForValue)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setNoViolation(Empty.Builder builderForValue)Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder |
|