- 3.48.0 (latest)
- 3.47.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.0
- 3.6.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.0
- 2.0.0
- 1.2.5
- 1.1.8
- 0.2.0
public static final class LintResult.Builder extends GeneratedMessageV3.Builder<LintResult.Builder> implements LintResultOrBuilder
Structured response of a single validation unit.
Protobuf type google.iam.admin.v1.LintResult
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LintResult.BuilderImplements
LintResultOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LintResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
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. |
clearField(Descriptors.FieldDescriptor field)
public LintResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
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. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LintResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
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. |
clone()
public LintResult.Builder clone()
Returns | |
---|---|
Type | Description |
LintResult.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LintResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The bytes for debugMessage to set. |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LintResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
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 |
String The 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 |
ByteString The 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.Level The 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 |
int The 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 |
int The locationOffset to set. |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LintResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
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.Severity The 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 |
int The enum numeric value on the wire for severity to set. |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final LintResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
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 |
String The 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 |
ByteString The bytes for validationUnitName to set. |
Returns | |
---|---|
Type | Description |
LintResult.Builder |
This builder for chaining. |