Class LintResult (3.15.0)

public final class LintResult extends GeneratedMessageV3 implements LintResultOrBuilder

Structured response of a single validation unit.

Protobuf type google.iam.admin.v1.LintResult

Implements

LintResultOrBuilder

Static Fields

DEBUG_MESSAGE_FIELD_NUMBER

public static final int DEBUG_MESSAGE_FIELD_NUMBER
Field Value
TypeDescription
int

FIELD_NAME_FIELD_NUMBER

public static final int FIELD_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

LEVEL_FIELD_NUMBER

public static final int LEVEL_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_OFFSET_FIELD_NUMBER

public static final int LOCATION_OFFSET_FIELD_NUMBER
Field Value
TypeDescription
int

SEVERITY_FIELD_NUMBER

public static final int SEVERITY_FIELD_NUMBER
Field Value
TypeDescription
int

VALIDATION_UNIT_NAME_FIELD_NUMBER

public static final int VALIDATION_UNIT_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LintResult getDefaultInstance()
Returns
TypeDescription
LintResult

getDescriptor()

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

newBuilder()

public static LintResult.Builder newBuilder()
Returns
TypeDescription
LintResult.Builder

newBuilder(LintResult prototype)

public static LintResult.Builder newBuilder(LintResult prototype)
Parameter
NameDescription
prototypeLintResult
Returns
TypeDescription
LintResult.Builder

parseDelimitedFrom(InputStream input)

public static LintResult parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LintResult
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static LintResult parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LintResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static LintResult parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LintResult
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static LintResult parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LintResult
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static LintResult parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LintResult
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<LintResult> parser()
Returns
TypeDescription
Parser<LintResult>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDebugMessage()

public String getDebugMessage()

Human readable debug message associated with the issue.

string debug_message = 7;

Returns
TypeDescription
String

The debugMessage.

getDebugMessageBytes()

public ByteString getDebugMessageBytes()

Human readable debug message associated with the issue.

string debug_message = 7;

Returns
TypeDescription
ByteString

The bytes for debugMessage.

getDefaultInstanceForType()

public LintResult getDefaultInstanceForType()
Returns
TypeDescription
LintResult

getFieldName()

public String getFieldName()

The name of the field for which this lint result is about.

For nested messages field_name consists of names of the embedded fields separated by period character. The top-level qualifier is the input object to lint in the request. For example, the field_name value condition.expression identifies a lint result for the expression field of the provided condition.

string field_name = 5;

Returns
TypeDescription
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

The name of the field for which this lint result is about.

For nested messages field_name consists of names of the embedded fields separated by period character. The top-level qualifier is the input object to lint in the request. For example, the field_name value condition.expression identifies a lint result for the expression field of the provided condition.

string field_name = 5;

Returns
TypeDescription
ByteString

The bytes for fieldName.

getLevel()

public LintResult.Level getLevel()

The validation unit level.

.google.iam.admin.v1.LintResult.Level level = 1;

Returns
TypeDescription
LintResult.Level

The level.

getLevelValue()

public int getLevelValue()

The validation unit level.

.google.iam.admin.v1.LintResult.Level level = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for level.

getLocationOffset()

public int getLocationOffset()

0-based character position of problematic construct within the object identified by field_name. Currently, this is populated only for condition expression.

int32 location_offset = 6;

Returns
TypeDescription
int

The locationOffset.

getParserForType()

public Parser<LintResult> getParserForType()
Returns
TypeDescription
Parser<LintResult>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSeverity()

public LintResult.Severity getSeverity()

The validation unit severity.

.google.iam.admin.v1.LintResult.Severity severity = 3;

Returns
TypeDescription
LintResult.Severity

The severity.

getSeverityValue()

public int getSeverityValue()

The validation unit severity.

.google.iam.admin.v1.LintResult.Severity severity = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for severity.

getValidationUnitName()

public String getValidationUnitName()

The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".

string validation_unit_name = 2;

Returns
TypeDescription
String

The validationUnitName.

getValidationUnitNameBytes()

public ByteString getValidationUnitNameBytes()

The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".

string validation_unit_name = 2;

Returns
TypeDescription
ByteString

The bytes for validationUnitName.

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 LintResult.Builder newBuilderForType()
Returns
TypeDescription
LintResult.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public LintResult.Builder toBuilder()
Returns
TypeDescription
LintResult.Builder

writeTo(CodedOutputStream output)

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