Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder (0.48.0)

publicstaticfinalclass ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderextendsGeneratedMessageV3.Builder<ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder>implementsValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorOrBuilder

An error encountered while validating the uploaded configuration of an Event Threat Detection custom module.

Protobuf type google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

Inheritance

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

Inherited Members

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()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

build()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorbuild()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

buildPartial()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorbuildPartial()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

clear()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builderclear()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

clearDescription()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearDescription()

A human-readable description of the error.

string description = 1;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

clearEnd()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearEnd()

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

clearField(Descriptors.FieldDescriptor field)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

clearFieldPath()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearFieldPath()

The path, in RFC 6901: JSON Pointer format, to the field that failed validation. Omitted if no specific field is affected.

string field_path = 2;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

clearStart()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuilderclearStart()

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

clone()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builderclone()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

getDefaultInstanceForType()

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorgetDefaultInstanceForType()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

getDescription()

publicStringgetDescription()

A human-readable description of the error.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

publicByteStringgetDescriptionBytes()

A human-readable description of the error.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnd()

publicValidateEventThreatDetectionCustomModuleResponse.PositiongetEnd()

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Position

The end.

getEndBuilder()

publicValidateEventThreatDetectionCustomModuleResponse.Position.BuildergetEndBuilder()

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Position.Builder

getEndOrBuilder()

publicValidateEventThreatDetectionCustomModuleResponse.PositionOrBuildergetEndOrBuilder()

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.PositionOrBuilder

getFieldPath()

publicStringgetFieldPath()

The path, in RFC 6901: JSON Pointer format, to the field that failed validation. Omitted if no specific field is affected.

string field_path = 2;

Returns
Type Description
String

The fieldPath.

getFieldPathBytes()

publicByteStringgetFieldPathBytes()

The path, in RFC 6901: JSON Pointer format, to the field that failed validation. Omitted if no specific field is affected.

string field_path = 2;

Returns
Type Description
ByteString

The bytes for fieldPath.

getStart()

publicValidateEventThreatDetectionCustomModuleResponse.PositiongetStart()

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Position

The start.

getStartBuilder()

publicValidateEventThreatDetectionCustomModuleResponse.Position.BuildergetStartBuilder()

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.Position.Builder

getStartOrBuilder()

publicValidateEventThreatDetectionCustomModuleResponse.PositionOrBuildergetStartOrBuilder()

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.PositionOrBuilder

hasEnd()

publicbooleanhasEnd()

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

Returns
Type Description
boolean

Whether the end field is set.

hasStart()

publicbooleanhasStart()

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

Returns
Type Description
boolean

Whether the start field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeEnd(ValidateEventThreatDetectionCustomModuleResponse.Position value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeEnd(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

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

mergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError other)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationErrorother)
Parameter
Name Description
other ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

mergeStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeStart(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

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

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

setDescription(String value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetDescription(Stringvalue)

A human-readable description of the error.

string description = 1;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetDescriptionBytes(ByteStringvalue)

A human-readable description of the error.

string description = 1;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

setEnd(ValidateEventThreatDetectionCustomModuleResponse.Position value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetEnd(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

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

setEnd(ValidateEventThreatDetectionCustomModuleResponse.Position.Builder builderForValue)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetEnd(ValidateEventThreatDetectionCustomModuleResponse.Position.BuilderbuilderForValue)

The end position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position end = 4;

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

setField(Descriptors.FieldDescriptor field, Object value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

setFieldPath(String value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetFieldPath(Stringvalue)

The path, in RFC 6901: JSON Pointer format, to the field that failed validation. Omitted if no specific field is affected.

string field_path = 2;

Parameter
Name Description
value String

The fieldPath to set.

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

setFieldPathBytes(ByteString value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetFieldPathBytes(ByteStringvalue)

The path, in RFC 6901: JSON Pointer format, to the field that failed validation. Omitted if no specific field is affected.

string field_path = 2;

Parameter
Name Description
value ByteString

The bytes for fieldPath to set.

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

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

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

setStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetStart(ValidateEventThreatDetectionCustomModuleResponse.Positionvalue)

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

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

setStart(ValidateEventThreatDetectionCustomModuleResponse.Position.Builder builderForValue)

publicValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetStart(ValidateEventThreatDetectionCustomModuleResponse.Position.BuilderbuilderForValue)

The initial position of the error in the uploaded text version of the module. Omitted if no specific position applies, or if the position could not be computed.

optional .google.cloud.securitycentermanagement.v1.ValidateEventThreatDetectionCustomModuleResponse.Position start = 3;

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

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.