Class ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError (0.8.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
TypeDescription
int

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
TypeDescription
int

FIELD_PATH_FIELD_NUMBER

public static final int FIELD_PATH_FIELD_NUMBER
Field Value
TypeDescription
int

START_FIELD_NUMBER

public static final int START_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError getDefaultInstance()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilder()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

newBuilder(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError prototype)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilder(ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError prototype)
Parameter
NameDescription
prototypeValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

parseDelimitedFrom(InputStream input)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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.

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilderForType()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder toBuilder()
Returns
TypeDescription
ValidateEventThreatDetectionCustomModuleResponse.CustomModuleValidationError.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException