Class ValidateEventThreatDetectionCustomModuleResponse.Builder (0.26.0)

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

Response message for SecurityCenterManagement.ValidateEventThreatDetectionCustomModule.

Protobuf type google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ValidateEventThreatDetectionCustomModuleResponse.Builder
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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;

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;

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;

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;

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;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateEventThreatDetectionCustomModuleResponse build()

buildPartial()

public ValidateEventThreatDetectionCustomModuleResponse buildPartial()

clear()

public ValidateEventThreatDetectionCustomModuleResponse.Builder clear()
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;

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ValidateEventThreatDetectionCustomModuleResponse.Builder clone()
Overrides

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleResponse getDefaultInstanceForType()

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

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

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

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 GeneratedMessageV3.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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;

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;

setField(Descriptors.FieldDescriptor field, Object value)

public ValidateEventThreatDetectionCustomModuleResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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