Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

build()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError build()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

buildPartial()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError buildPartial()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

clear()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clear()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

clearDescription()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearDescription()

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

string description = 1;

Returns
TypeDescription
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
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

clearField(Descriptors.FieldDescriptor field)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

clone()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder clone()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

getDefaultInstanceForType()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError getDefaultInstanceForType()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

getDescription()

public String getDescription()

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

string description = 1;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

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

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the start field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueValidateEventThreatDetectionCustomModuleResponse.Position
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

mergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError other)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeFrom(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError other)
Parameter
NameDescription
otherValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueValidateEventThreatDetectionCustomModuleResponse.Position
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueValidateEventThreatDetectionCustomModuleResponse.Position
Returns
TypeDescription
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
NameDescription
builderForValueValidateEventThreatDetectionCustomModuleResponse.Position.Builder
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fieldPath to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fieldPath to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueValidateEventThreatDetectionCustomModuleResponse.Position
Returns
TypeDescription
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
NameDescription
builderForValueValidateEventThreatDetectionCustomModuleResponse.Position.Builder
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides