Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder (0.17.0)

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

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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 description of the error, suitable for human consumption. Required.

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. This field may be omitted if no specific position applies, or if one could not be computed..

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

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFieldPath()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearFieldPath()

The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty if no specific field is affected.

string field_path = 2;

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStart()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearStart()

The initial position of the error in the uploaded text version of the module. This field may be omitted if no specific position applies, or if one could not be computed.

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

Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

clone()

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

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

A description of the error, suitable for human consumption. Required.

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

A description of the error, suitable for human consumption. Required.

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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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 8901 JSON Pointer format, to the field that failed validation. This may be left empty if no specific field is affected.

string field_path = 2;

Returns
Type Description
String

The fieldPath.

getFieldPathBytes()

public ByteString getFieldPathBytes()

The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty 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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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 GeneratedMessageV3.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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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)

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

setDescription(String value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setDescription(String value)

A description of the error, suitable for human consumption. Required.

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 description of the error, suitable for human consumption. Required.

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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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)

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

setFieldPath(String value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setFieldPath(String value)

The path, in RFC 8901 JSON Pointer format, to the field that failed validation. This may be left empty 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 8901 JSON Pointer format, to the field that failed validation. This may be left empty 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)

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

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. This field may be omitted if no specific position applies, or if one 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. This field may be omitted if no specific position applies, or if one 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)

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