public static final class LintResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder> implements LintResultOrBuilder
Structured response of a single validation unit.Protobuf type
google.iam.admin.v1.LintResult| Modifier and Type | Method and Description |
|---|---|
LintResult.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LintResult |
build() |
LintResult |
buildPartial() |
LintResult.Builder |
clear() |
LintResult.Builder |
clearDebugMessage()
Human readable debug message associated with the issue.
|
LintResult.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LintResult.Builder |
clearFieldName()
The name of the field for which this lint result is about.
|
LintResult.Builder |
clearLevel()
The validation unit level.
|
LintResult.Builder |
clearLocationOffset()
0-based character position of problematic construct within the object
identified by `field_name`.
|
LintResult.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LintResult.Builder |
clearSeverity()
The validation unit severity.
|
LintResult.Builder |
clearValidationUnitName()
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
|
LintResult.Builder |
clone() |
String |
getDebugMessage()
Human readable debug message associated with the issue.
|
com.google.protobuf.ByteString |
getDebugMessageBytes()
Human readable debug message associated with the issue.
|
LintResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getFieldName()
The name of the field for which this lint result is about.
|
com.google.protobuf.ByteString |
getFieldNameBytes()
The name of the field for which this lint result is about.
|
LintResult.Level |
getLevel()
The validation unit level.
|
int |
getLevelValue()
The validation unit level.
|
int |
getLocationOffset()
0-based character position of problematic construct within the object
identified by `field_name`.
|
LintResult.Severity |
getSeverity()
The validation unit severity.
|
int |
getSeverityValue()
The validation unit severity.
|
String |
getValidationUnitName()
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
|
com.google.protobuf.ByteString |
getValidationUnitNameBytes()
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LintResult.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LintResult.Builder |
mergeFrom(LintResult other) |
LintResult.Builder |
mergeFrom(com.google.protobuf.Message other) |
LintResult.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LintResult.Builder |
setDebugMessage(String value)
Human readable debug message associated with the issue.
|
LintResult.Builder |
setDebugMessageBytes(com.google.protobuf.ByteString value)
Human readable debug message associated with the issue.
|
LintResult.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LintResult.Builder |
setFieldName(String value)
The name of the field for which this lint result is about.
|
LintResult.Builder |
setFieldNameBytes(com.google.protobuf.ByteString value)
The name of the field for which this lint result is about.
|
LintResult.Builder |
setLevel(LintResult.Level value)
The validation unit level.
|
LintResult.Builder |
setLevelValue(int value)
The validation unit level.
|
LintResult.Builder |
setLocationOffset(int value)
0-based character position of problematic construct within the object
identified by `field_name`.
|
LintResult.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LintResult.Builder |
setSeverity(LintResult.Severity value)
The validation unit severity.
|
LintResult.Builder |
setSeverityValue(int value)
The validation unit severity.
|
LintResult.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LintResult.Builder |
setValidationUnitName(String value)
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
|
LintResult.Builder |
setValidationUnitNameBytes(com.google.protobuf.ByteString value)
The validation unit name, for instance
"lintValidationUnits/ConditionComplexityCheck".
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic LintResult build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic LintResult buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic LintResult.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LintResult.Builder>public LintResult.Builder mergeFrom(LintResult other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public LintResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<LintResult.Builder>IOExceptionpublic int getLevelValue()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;getLevelValue in interface LintResultOrBuilderpublic LintResult.Builder setLevelValue(int value)
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;value - The enum numeric value on the wire for level to set.public LintResult.Level getLevel()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;getLevel in interface LintResultOrBuilderpublic LintResult.Builder setLevel(LintResult.Level value)
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;value - The level to set.public LintResult.Builder clearLevel()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;public String getValidationUnitName()
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;getValidationUnitName in interface LintResultOrBuilderpublic com.google.protobuf.ByteString getValidationUnitNameBytes()
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;getValidationUnitNameBytes in interface LintResultOrBuilderpublic LintResult.Builder setValidationUnitName(String value)
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;value - The validationUnitName to set.public LintResult.Builder clearValidationUnitName()
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;public LintResult.Builder setValidationUnitNameBytes(com.google.protobuf.ByteString value)
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;value - The bytes for validationUnitName to set.public int getSeverityValue()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;getSeverityValue in interface LintResultOrBuilderpublic LintResult.Builder setSeverityValue(int value)
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;value - The enum numeric value on the wire for severity to set.public LintResult.Severity getSeverity()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;getSeverity in interface LintResultOrBuilderpublic LintResult.Builder setSeverity(LintResult.Severity value)
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;value - The severity to set.public LintResult.Builder clearSeverity()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;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;getFieldName in interface LintResultOrBuilderpublic com.google.protobuf.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;getFieldNameBytes in interface LintResultOrBuilderpublic LintResult.Builder setFieldName(String value)
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;value - The fieldName to set.public LintResult.Builder clearFieldName()
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;public LintResult.Builder setFieldNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for fieldName to set.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;getLocationOffset in interface LintResultOrBuilderpublic LintResult.Builder setLocationOffset(int value)
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;value - The locationOffset to set.public LintResult.Builder clearLocationOffset()
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;public String getDebugMessage()
Human readable debug message associated with the issue.
string debug_message = 7;getDebugMessage in interface LintResultOrBuilderpublic com.google.protobuf.ByteString getDebugMessageBytes()
Human readable debug message associated with the issue.
string debug_message = 7;getDebugMessageBytes in interface LintResultOrBuilderpublic LintResult.Builder setDebugMessage(String value)
Human readable debug message associated with the issue.
string debug_message = 7;value - The debugMessage to set.public LintResult.Builder clearDebugMessage()
Human readable debug message associated with the issue.
string debug_message = 7;public LintResult.Builder setDebugMessageBytes(com.google.protobuf.ByteString value)
Human readable debug message associated with the issue.
string debug_message = 7;value - The bytes for debugMessage to set.public final LintResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>public final LintResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>Copyright © 2025 Google LLC. All rights reserved.