Send feedback
Class LintResult (3.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.2.0 keyboard_arrow_down
public final class LintResult extends GeneratedMessageV3 implements LintResultOrBuilder
Structured response of a single validation unit.
Protobuf type google.iam.admin.v1.LintResult
Static Fields
DEBUG_MESSAGE_FIELD_NUMBER
public static final int DEBUG_MESSAGE_FIELD_NUMBER
Field Value
FIELD_NAME_FIELD_NUMBER
public static final int FIELD_NAME_FIELD_NUMBER
Field Value
LEVEL_FIELD_NUMBER
public static final int LEVEL_FIELD_NUMBER
Field Value
LOCATION_OFFSET_FIELD_NUMBER
public static final int LOCATION_OFFSET_FIELD_NUMBER
Field Value
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
Field Value
VALIDATION_UNIT_NAME_FIELD_NUMBER
public static final int VALIDATION_UNIT_NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LintResult getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static LintResult . Builder newBuilder ()
Returns
newBuilder(LintResult prototype)
public static LintResult . Builder newBuilder ( LintResult prototype )
Parameter
Returns
public static LintResult parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static LintResult parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LintResult parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LintResult parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LintResult parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LintResult parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LintResult parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static LintResult parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static LintResult parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static LintResult parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LintResult parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LintResult parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<LintResult> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDebugMessage()
public String getDebugMessage ()
Human readable debug message associated with the issue.
string debug_message = 7;
Returns
Type Description String The debugMessage.
getDebugMessageBytes()
public ByteString getDebugMessageBytes ()
Human readable debug message associated with the issue.
string debug_message = 7;
Returns
Type Description ByteString The bytes for debugMessage.
getDefaultInstanceForType()
public LintResult getDefaultInstanceForType ()
Returns
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
Type Description 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
getLevel()
public LintResult . Level getLevel ()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;
Returns
getLevelValue()
public int getLevelValue ()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;
Returns
Type Description 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
Type Description int The locationOffset.
getParserForType()
public Parser<LintResult> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getSeverity()
public LintResult . Severity getSeverity ()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;
Returns
getSeverityValue()
public int getSeverityValue ()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;
Returns
Type Description int The enum numeric value on the wire for severity.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
getValidationUnitName()
public String getValidationUnitName ()
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;
Returns
Type Description String The validationUnitName.
getValidationUnitNameBytes()
public ByteString getValidationUnitNameBytes ()
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;
Returns
Type Description ByteString The bytes for validationUnitName.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public LintResult . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LintResult . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public LintResult . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]