Class ValidateEventThreatDetectionCustomModuleResponse.Builder (2.57.0)

public static final class ValidateEventThreatDetectionCustomModuleResponse.Builder extends GeneratedMessageV3.Builder<ValidateEventThreatDetectionCustomModuleResponse.Builder> implements ValidateEventThreatDetectionCustomModuleResponseOrBuilder

Response to validating an Event Threat Detection custom module.

Protobuf type google.cloud.securitycenter.v1.ValidateEventThreatDetectionCustomModuleResponse

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateEventThreatDetectionCustomModuleResponse build()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse

buildPartial()

public ValidateEventThreatDetectionCustomModuleResponse buildPartial()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse

clear()

public ValidateEventThreatDetectionCustomModuleResponse.Builder clear()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder
Overrides

clearErrors()

public ValidateEventThreatDetectionCustomModuleResponse.Builder clearErrors()

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ValidateEventThreatDetectionCustomModuleResponse.Builder clone()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder
Overrides

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleResponse getDefaultInstanceForType()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse

getDescriptorForType()

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

getErrors()

public CustomModuleValidationErrors getErrors()

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Returns
Type Description
CustomModuleValidationErrors

The errors.

getErrorsBuilder()

public CustomModuleValidationErrors.Builder getErrorsBuilder()

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Returns
Type Description
CustomModuleValidationErrors.Builder

getErrorsOrBuilder()

public CustomModuleValidationErrorsOrBuilder getErrorsOrBuilder()

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Returns
Type Description
CustomModuleValidationErrorsOrBuilder

hasErrors()

public boolean hasErrors()

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Returns
Type Description
boolean

Whether the errors field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeErrors(CustomModuleValidationErrors value)

public ValidateEventThreatDetectionCustomModuleResponse.Builder mergeErrors(CustomModuleValidationErrors value)

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Parameter
Name Description
value CustomModuleValidationErrors
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

mergeFrom(ValidateEventThreatDetectionCustomModuleResponse other)

public ValidateEventThreatDetectionCustomModuleResponse.Builder mergeFrom(ValidateEventThreatDetectionCustomModuleResponse other)
Parameter
Name Description
other ValidateEventThreatDetectionCustomModuleResponse
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidateEventThreatDetectionCustomModuleResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ValidateEventThreatDetectionCustomModuleResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidateEventThreatDetectionCustomModuleResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder
Overrides

setErrors(CustomModuleValidationErrors value)

public ValidateEventThreatDetectionCustomModuleResponse.Builder setErrors(CustomModuleValidationErrors value)

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Parameter
Name Description
value CustomModuleValidationErrors
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

setErrors(CustomModuleValidationErrors.Builder builderForValue)

public ValidateEventThreatDetectionCustomModuleResponse.Builder setErrors(CustomModuleValidationErrors.Builder builderForValue)

A list of errors returned by the validator. If the list is empty, there were no errors.

.google.cloud.securitycenter.v1.CustomModuleValidationErrors errors = 2;

Parameter
Name Description
builderForValue CustomModuleValidationErrors.Builder
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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