public static final class LintResult.Builder extends GeneratedMessage.Builder<LintResult.Builder> implements LintResultOrBuilderStructured response of a single validation unit.
Protobuf type google.iam.admin.v1.LintResult
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > LintResult.BuilderImplements
LintResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public LintResult build()| Returns | |
|---|---|
| Type | Description |
LintResult |
|
buildPartial()
public LintResult buildPartial()| Returns | |
|---|---|
| Type | Description |
LintResult |
|
clear()
public LintResult.Builder clear()| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
|
clearDebugMessage()
public LintResult.Builder clearDebugMessage()Human readable debug message associated with the issue.
string debug_message = 7;
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
clearFieldName()
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;
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
clearLevel()
public LintResult.Builder clearLevel()The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
clearLocationOffset()
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;
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
clearSeverity()
public LintResult.Builder clearSeverity()The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
clearValidationUnitName()
public LintResult.Builder clearValidationUnitName()The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
LintResult |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for fieldName. |
getLevel()
public LintResult.Level getLevel()The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;
| Returns | |
|---|---|
| Type | Description |
LintResult.Level |
The level. |
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. |
getSeverity()
public LintResult.Severity getSeverity()The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;
| Returns | |
|---|---|
| Type | Description |
LintResult.Severity |
The severity. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(LintResult other)
public LintResult.Builder mergeFrom(LintResult other)| Parameter | |
|---|---|
| Name | Description |
other |
LintResult |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LintResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public LintResult.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
|
setDebugMessage(String value)
public LintResult.Builder setDebugMessage(String value)Human readable debug message associated with the issue.
string debug_message = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe debugMessage to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setDebugMessageBytes(ByteString value)
public LintResult.Builder setDebugMessageBytes(ByteString value)Human readable debug message associated with the issue.
string debug_message = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for debugMessage to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setFieldName(String value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe fieldName to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setFieldNameBytes(ByteString value)
public LintResult.Builder setFieldNameBytes(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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for fieldName to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setLevel(LintResult.Level value)
public LintResult.Builder setLevel(LintResult.Level value)The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
LintResult.LevelThe level to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setLevelValue(int value)
public LintResult.Builder setLevelValue(int value)The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for level to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setLocationOffset(int value)
public 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe locationOffset to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setSeverity(LintResult.Severity value)
public LintResult.Builder setSeverity(LintResult.Severity value)The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
LintResult.SeverityThe severity to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setSeverityValue(int value)
public LintResult.Builder setSeverityValue(int value)The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for severity to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setValidationUnitName(String value)
public LintResult.Builder setValidationUnitName(String value)The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe validationUnitName to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |
setValidationUnitNameBytes(ByteString value)
public LintResult.Builder setValidationUnitNameBytes(ByteString value)The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for validationUnitName to set. |
| Returns | |
|---|---|
| Type | Description |
LintResult.Builder |
This builder for chaining. |