Class CustomModuleValidationErrors.Builder (2.56.0)

public static final class CustomModuleValidationErrors.Builder extends GeneratedMessageV3.Builder<CustomModuleValidationErrors.Builder> implements CustomModuleValidationErrorsOrBuilder

A list of zero or more errors encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.

Protobuf type google.cloud.securitycenter.v1.CustomModuleValidationErrors

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends CustomModuleValidationError> values)

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

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

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

addErrors(CustomModuleValidationError value)

public CustomModuleValidationErrors.Builder addErrors(CustomModuleValidationError value)

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Parameter
Name Description
value CustomModuleValidationError
Returns
Type Description
CustomModuleValidationErrors.Builder

addErrors(CustomModuleValidationError.Builder builderForValue)

public CustomModuleValidationErrors.Builder addErrors(CustomModuleValidationError.Builder builderForValue)

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

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

addErrors(int index, CustomModuleValidationError value)

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

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

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

addErrors(int index, CustomModuleValidationError.Builder builderForValue)

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

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

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

addErrorsBuilder()

public CustomModuleValidationError.Builder addErrorsBuilder()

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Returns
Type Description
CustomModuleValidationError.Builder

addErrorsBuilder(int index)

public CustomModuleValidationError.Builder addErrorsBuilder(int index)

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomModuleValidationError.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CustomModuleValidationErrors build()
Returns
Type Description
CustomModuleValidationErrors

buildPartial()

public CustomModuleValidationErrors buildPartial()
Returns
Type Description
CustomModuleValidationErrors

clear()

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

clearErrors()

public CustomModuleValidationErrors.Builder clearErrors()

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Returns
Type Description
CustomModuleValidationErrors.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public CustomModuleValidationErrors getDefaultInstanceForType()
Returns
Type Description
CustomModuleValidationErrors

getDescriptorForType()

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

getErrors(int index)

public CustomModuleValidationError getErrors(int index)

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomModuleValidationError

getErrorsBuilder(int index)

public CustomModuleValidationError.Builder getErrorsBuilder(int index)

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomModuleValidationError.Builder

getErrorsBuilderList()

public List<CustomModuleValidationError.Builder> getErrorsBuilderList()

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Returns
Type Description
List<Builder>

getErrorsCount()

public int getErrorsCount()

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Returns
Type Description
int

getErrorsList()

public List<CustomModuleValidationError> getErrorsList()

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Returns
Type Description
List<CustomModuleValidationError>

getErrorsOrBuilder(int index)

public CustomModuleValidationErrorOrBuilder getErrorsOrBuilder(int index)

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomModuleValidationErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends CustomModuleValidationErrorOrBuilder> getErrorsOrBuilderList()

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomModuleValidationErrors other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeErrors(int index)

public CustomModuleValidationErrors.Builder removeErrors(int index)

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomModuleValidationErrors.Builder

setErrors(int index, CustomModuleValidationError value)

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

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

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

setErrors(int index, CustomModuleValidationError.Builder builderForValue)

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

repeated .google.cloud.securitycenter.v1.CustomModuleValidationError errors = 1;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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