Class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder (2.60.0)

public static final class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder extends GeneratedMessageV3.Builder<SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder> implements SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder

Possible test result.

Protobuf type google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

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
Overrides

clearError()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

clearField(Descriptors.FieldDescriptor field)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

clearFinding()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearFinding()

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

clearResult()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearResult()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

clone()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clone()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

getDefaultInstanceForType()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstanceForType()
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

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

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

Returns
Type Description
Finding

The finding.

getFindingBuilder()

public Finding.Builder getFindingBuilder()

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

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

Returns
Type Description
Finding.Builder

getFindingOrBuilder()

public FindingOrBuilder getFindingOrBuilder()

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

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

Returns
Type Description
FindingOrBuilder

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.securitycenter.v1.Finding 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

mergeFinding(Finding value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFinding(Finding value)

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

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

Parameter
Name Description
value Finding
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
Overrides
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
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
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
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
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

setField(Descriptors.FieldDescriptor field, Object value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

setFinding(Finding value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setFinding(Finding value)

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

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

Parameter
Name Description
value Finding
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

setFinding(Finding.Builder builderForValue)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setFinding(Finding.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue Finding.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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides