Class SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder (2.40.0)

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

Response message for simulating a SecurityHealthAnalyticsCustomModule against a given resource.

Protobuf type google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SimulateSecurityHealthAnalyticsCustomModuleResponse build()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse

buildPartial()

public SimulateSecurityHealthAnalyticsCustomModuleResponse buildPartial()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResult()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder clearResult()

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder

clone()

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

getDefaultInstanceForType()

public SimulateSecurityHealthAnalyticsCustomModuleResponse getDefaultInstanceForType()
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getResult()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult getResult()

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult

The result.

getResultBuilder()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder getResultBuilder()

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder

getResultOrBuilder()

public SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder getResultOrBuilder()

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResultOrBuilder

hasResult()

public boolean hasResult()

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Returns
TypeDescription
boolean

Whether the result field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SimulateSecurityHealthAnalyticsCustomModuleResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder
Overrides

mergeResult(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder mergeResult(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult value)

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Parameter
NameDescription
valueSimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setResult(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult value)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder setResult(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult value)

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Parameter
NameDescription
valueSimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder

setResult(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder builderForValue)

public SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder setResult(SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder builderForValue)

Result for test case in the corresponding request.

.google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult result = 1;

Parameter
NameDescription
builderForValueSimulateSecurityHealthAnalyticsCustomModuleResponse.SimulatedResult.Builder
Returns
TypeDescription
SimulateSecurityHealthAnalyticsCustomModuleResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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