Class ValidateEventThreatDetectionCustomModuleResponse.Builder (0.53.0)

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

Response message for SecurityCenterManagement.ValidateEventThreatDetectionCustomModule.

Protobuf type google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError> values)

public ValidateEventThreatDetectionCustomModuleResponse.Builder addAllErrors(Iterable<? extends ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError> values)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError>
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

addErrors(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError value)

public ValidateEventThreatDetectionCustomModuleResponse.Builder addErrors(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError value)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameter
Name Description
value ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

addErrors(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder builderForValue)

public ValidateEventThreatDetectionCustomModuleResponse.Builder addErrors(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder builderForValue)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

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

addErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError value)

public ValidateEventThreatDetectionCustomModuleResponse.Builder addErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError value)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameters
Name Description
index int
value ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

addErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder builderForValue)

public ValidateEventThreatDetectionCustomModuleResponse.Builder addErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder builderForValue)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameters
Name Description
index int
builderForValue ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

addErrorsBuilder()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder addErrorsBuilder()

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

addErrorsBuilder(int index)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder addErrorsBuilder(int index)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

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.

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleResponse getDefaultInstanceForType()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse

getDescriptorForType()

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

getErrors(int index)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError getErrors(int index)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

getErrorsBuilder(int index)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder getErrorsBuilder(int index)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

getErrorsBuilderList()

public List<ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder> getErrorsBuilderList()

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Returns
Type Description
int

getErrorsList()

public List<ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError> getErrorsList()

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Returns
Type Description
List<CustomModuleValidationError>

getErrorsOrBuilder(int index)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorOrBuilder getErrorsOrBuilder(int index)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorOrBuilder> getErrorsOrBuilderList()

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Returns
Type Description
List<? extends com.google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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

removeErrors(int index)

public ValidateEventThreatDetectionCustomModuleResponse.Builder removeErrors(int index)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameter
Name Description
index int
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

setErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError value)

public ValidateEventThreatDetectionCustomModuleResponse.Builder setErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError value)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameters
Name Description
index int
value ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder

setErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder builderForValue)

public ValidateEventThreatDetectionCustomModuleResponse.Builder setErrors(int index, ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder builderForValue)

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

repeated .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError errors = 2;

Parameters
Name Description
index int
builderForValue ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Builder