Interface CustomModuleValidationErrorOrBuilder (2.57.0)

public interface CustomModuleValidationErrorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDescription()

public abstract String getDescription()

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

string description = 1;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.

getStart()

public abstract 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 abstract 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 abstract 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 abstract 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.