public static final class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder extends GeneratedMessageV3.Builder<SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder> implements SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder
Possible test result.
Protobuf type
google.cloud.securitycentermanagement.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult build()
buildPartial()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult buildPartial()
clear()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clear()
Overrides
clearError()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearError()
Error encountered during the test.
.google.rpc.Status error = 3;
clearField(Descriptors.FieldDescriptor field)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearNoViolation()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearNoViolation()
Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResult()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearResult()
clone()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clone()
Overrides
getDefaultInstanceForType()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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;
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;
getNoViolationOrBuilder()
public EmptyOrBuilder getNoViolationOrBuilder()
Indicates that the test case does not trigger any violation.
.google.protobuf.Empty no_violation = 2;
getResultCase()
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
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
|
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;
mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult other)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult other)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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;
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
|
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides