Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder (0.26.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
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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError build()

buildPartial()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError buildPartial()

clear()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clear()
Overrides

clearDescription()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearDescription()

A human-readable description of the error.

string description = 1;

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;

clearField(Descriptors.FieldDescriptor field)

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

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;

clearOneof(Descriptors.OneofDescriptor oneof)

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

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;

clone()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clone()
Overrides

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError getDefaultInstanceForType()

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;

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;

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;

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;

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;

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 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. Omitted if no specific position applies, or if the position could not be computed.

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

mergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError other)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError other)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
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;

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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.

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.

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;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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.

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
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. Omitted if no specific position applies, or if the position could not be computed.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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