Class CustomModuleValidationError (2.57.0)

public final class CustomModuleValidationError extends GeneratedMessageV3 implements CustomModuleValidationErrorOrBuilder

An error encountered while validating the uploaded configuration of an Event Threat Detection Custom Module.

Protobuf type google.cloud.securitycenter.v1.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 CustomModuleValidationError getDefaultInstance()
Returns
Type Description
CustomModuleValidationError

getDescriptor()

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

newBuilder()

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

newBuilder(CustomModuleValidationError prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<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 CustomModuleValidationError getDefaultInstanceForType()
Returns
Type Description
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 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.securitycenter.v1.Position end = 4;

Returns
Type Description
Position

The end.

getEndOrBuilder()

public 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.securitycenter.v1.Position end = 4;

Returns
Type Description
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<CustomModuleValidationError> getParserForType()
Returns
Type Description
Parser<CustomModuleValidationError>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStart()

public 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.securitycenter.v1.Position start = 3;

Returns
Type Description
Position

The start.

getStartOrBuilder()

public 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.securitycenter.v1.Position start = 3;

Returns
Type Description
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.securitycenter.v1.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.securitycenter.v1.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 CustomModuleValidationError.Builder newBuilderForType()
Returns
Type Description
CustomModuleValidationError.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CustomModuleValidationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
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 CustomModuleValidationError.Builder toBuilder()
Returns
Type Description
CustomModuleValidationError.Builder

writeTo(CodedOutputStream output)

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