Class SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder (0.7.0)

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

Inheritance

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

build()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult build()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

buildPartial()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult buildPartial()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

clear()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clear()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

clearError()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

clearField(Descriptors.FieldDescriptor field)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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.securitycentermanagement.v1.SimulatedFinding finding = 1;

Returns
TypeDescription
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
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

clearResult()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clearResult()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

clone()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder clone()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

getDefaultInstanceForType()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getDefaultInstanceForType()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getError()

public Status getError()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorBuilder()

public Status.Builder getErrorBuilder()

Error encountered during the test.

.google.rpc.Status error = 3;

Returns
TypeDescription
com.google.rpc.Status.Builder

getErrorOrBuilder()

public StatusOrBuilder getErrorOrBuilder()

Error encountered during the test.

.google.rpc.Status error = 3;

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

getNoViolation()

public Empty getNoViolation()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

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

getNoViolationOrBuilder()

public EmptyOrBuilder getNoViolationOrBuilder()

Indicates that the test case does not trigger any violation.

.google.protobuf.Empty no_violation = 2;

Returns
TypeDescription
EmptyOrBuilder

getResultCase()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase getResultCase()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.ResultCase

hasError()

public boolean hasError()

Error encountered during the test.

.google.rpc.Status error = 3;

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

Whether the noViolation field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeError(Status value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeError(Status value)

Error encountered during the test.

.google.rpc.Status error = 3;

Parameter
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
valueSimulatedFinding
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult other)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult other)
Parameter
NameDescription
otherSimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEmpty
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valuecom.google.rpc.Status
Returns
TypeDescription
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
NameDescription
builderForValuecom.google.rpc.Status.Builder
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
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;

Parameter
NameDescription
valueSimulatedFinding
Returns
TypeDescription
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
NameDescription
builderForValueSimulatedFinding.Builder
Returns
TypeDescription
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
NameDescription
valueEmpty
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

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

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Overrides