Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError (0.12.0)

public static final class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
Type Description
int

FIELD_PATH_FIELD_NUMBER

public static final int FIELD_PATH_FIELD_NUMBER
Field Value
Type Description
int

START_FIELD_NUMBER

public static final int START_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError getDefaultInstance()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

getDescriptor()

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

newBuilder()

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilder()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

newBuilder(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError prototype)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilder(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError prototype)
Parameter
Name Description
prototype ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

parseDelimitedFrom(InputStream input)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError> parser()
Returns
Type Description
Parser<CustomModuleValidationError>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

getParserForType()

public Parser<ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError> getParserForType()
Returns
Type Description
Parser<CustomModuleValidationError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilderForType()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder toBuilder()
Returns
Type Description
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException