Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder (0.53.0)

public static final class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder extends GeneratedMessage.Builder<ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder> implements ValidateEventThreatDetectionCustomModuleResponse.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

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

Static Methods

getDescriptor()

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

Methods

build()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError build()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

buildPartial()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError buildPartial()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

clear()

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

clearDescription()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearDescription()

A human-readable description of the error.

string description = 1;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

clearEnd()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearEnd()

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

clearFieldPath()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearFieldPath()

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.

clearStart()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearStart()

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

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError getDefaultInstanceForType()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

getDescription()

public String getDescription()

A human-readable description of the error.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A human-readable description of the error.

string description = 1;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getEnd()

public ValidateEventThreatDetectionCustomModuleResponse.Position getEnd()

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

public ValidateEventThreatDetectionCustomModuleResponse.Position.Builder getEndBuilder()

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

public ValidateEventThreatDetectionCustomModuleResponse.PositionOrBuilder getEndOrBuilder()

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

public String getFieldPath()

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

public ByteString getFieldPathBytes()

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

public ValidateEventThreatDetectionCustomModuleResponse.Position getStart()

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

public ValidateEventThreatDetectionCustomModuleResponse.Position.Builder getStartBuilder()

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

public ValidateEventThreatDetectionCustomModuleResponse.PositionOrBuilder getStartOrBuilder()

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

public boolean hasEnd()

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

public boolean hasStart()

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

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnd(ValidateEventThreatDetectionCustomModuleResponse.Position value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeEnd(ValidateEventThreatDetectionCustomModuleResponse.Position value)

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)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)

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

setDescription(String value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setDescription(String value)

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)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setDescriptionBytes(ByteString value)

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)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setEnd(ValidateEventThreatDetectionCustomModuleResponse.Position value)

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)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setEnd(ValidateEventThreatDetectionCustomModuleResponse.Position.Builder builderForValue)

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

setFieldPath(String value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setFieldPath(String value)

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)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setFieldPathBytes(ByteString value)

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.

setStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setStart(ValidateEventThreatDetectionCustomModuleResponse.Position value)

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)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setStart(ValidateEventThreatDetectionCustomModuleResponse.Position.Builder builderForValue)

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