Package com.google.iam.admin.v1
Class LintResult.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
- com.google.iam.admin.v1.LintResult.Builder
-
- All Implemented Interfaces:
LintResultOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LintResult
public static final class LintResult.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder> implements LintResultOrBuilder
Structured response of a single validation unit.
Protobuf typegoogle.iam.admin.v1.LintResult
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LintResult.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LintResultbuild()LintResultbuildPartial()LintResult.Builderclear()LintResult.BuilderclearDebugMessage()Human readable debug message associated with the issue.LintResult.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LintResult.BuilderclearFieldName()The name of the field for which this lint result is about.LintResult.BuilderclearLevel()The validation unit level.LintResult.BuilderclearLocationOffset()0-based character position of problematic construct within the object identified by `field_name`.LintResult.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LintResult.BuilderclearSeverity()The validation unit severity.LintResult.BuilderclearValidationUnitName()The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".LintResult.Builderclone()StringgetDebugMessage()Human readable debug message associated with the issue.com.google.protobuf.ByteStringgetDebugMessageBytes()Human readable debug message associated with the issue.LintResultgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFieldName()The name of the field for which this lint result is about.com.google.protobuf.ByteStringgetFieldNameBytes()The name of the field for which this lint result is about.LintResult.LevelgetLevel()The validation unit level.intgetLevelValue()The validation unit level.intgetLocationOffset()0-based character position of problematic construct within the object identified by `field_name`.LintResult.SeveritygetSeverity()The validation unit severity.intgetSeverityValue()The validation unit severity.StringgetValidationUnitName()The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".com.google.protobuf.ByteStringgetValidationUnitNameBytes()The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()LintResult.BuildermergeFrom(LintResult other)LintResult.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LintResult.BuildermergeFrom(com.google.protobuf.Message other)LintResult.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LintResult.BuildersetDebugMessage(String value)Human readable debug message associated with the issue.LintResult.BuildersetDebugMessageBytes(com.google.protobuf.ByteString value)Human readable debug message associated with the issue.LintResult.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LintResult.BuildersetFieldName(String value)The name of the field for which this lint result is about.LintResult.BuildersetFieldNameBytes(com.google.protobuf.ByteString value)The name of the field for which this lint result is about.LintResult.BuildersetLevel(LintResult.Level value)The validation unit level.LintResult.BuildersetLevelValue(int value)The validation unit level.LintResult.BuildersetLocationOffset(int value)0-based character position of problematic construct within the object identified by `field_name`.LintResult.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)LintResult.BuildersetSeverity(LintResult.Severity value)The validation unit severity.LintResult.BuildersetSeverityValue(int value)The validation unit severity.LintResult.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LintResult.BuildersetValidationUnitName(String value)The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".LintResult.BuildersetValidationUnitNameBytes(com.google.protobuf.ByteString value)The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
clear
public LintResult.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
getDefaultInstanceForType
public LintResult getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LintResult build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LintResult buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LintResult.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
setField
public LintResult.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
clearField
public LintResult.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
clearOneof
public LintResult.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
setRepeatedField
public LintResult.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
addRepeatedField
public LintResult.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
mergeFrom
public LintResult.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LintResult.Builder>
-
mergeFrom
public LintResult.Builder mergeFrom(LintResult other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
mergeFrom
public LintResult.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LintResult.Builder>- Throws:
IOException
-
getLevelValue
public int getLevelValue()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Specified by:
getLevelValuein interfaceLintResultOrBuilder- Returns:
- The enum numeric value on the wire for level.
-
setLevelValue
public LintResult.Builder setLevelValue(int value)
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Parameters:
value- The enum numeric value on the wire for level to set.- Returns:
- This builder for chaining.
-
getLevel
public LintResult.Level getLevel()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Specified by:
getLevelin interfaceLintResultOrBuilder- Returns:
- The level.
-
setLevel
public LintResult.Builder setLevel(LintResult.Level value)
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Parameters:
value- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
public LintResult.Builder clearLevel()
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Returns:
- This builder for chaining.
-
getValidationUnitName
public String getValidationUnitName()
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;- Specified by:
getValidationUnitNamein interfaceLintResultOrBuilder- Returns:
- The validationUnitName.
-
getValidationUnitNameBytes
public com.google.protobuf.ByteString getValidationUnitNameBytes()
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;- Specified by:
getValidationUnitNameBytesin interfaceLintResultOrBuilder- Returns:
- The bytes for validationUnitName.
-
setValidationUnitName
public LintResult.Builder setValidationUnitName(String value)
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;- Parameters:
value- The validationUnitName to set.- Returns:
- This builder for chaining.
-
clearValidationUnitName
public LintResult.Builder clearValidationUnitName()
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;- Returns:
- This builder for chaining.
-
setValidationUnitNameBytes
public LintResult.Builder setValidationUnitNameBytes(com.google.protobuf.ByteString value)
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;- Parameters:
value- The bytes for validationUnitName to set.- Returns:
- This builder for chaining.
-
getSeverityValue
public int getSeverityValue()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Specified by:
getSeverityValuein interfaceLintResultOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
setSeverityValue
public LintResult.Builder setSeverityValue(int value)
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Parameters:
value- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
public LintResult.Severity getSeverity()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Specified by:
getSeverityin interfaceLintResultOrBuilder- Returns:
- The severity.
-
setSeverity
public LintResult.Builder setSeverity(LintResult.Severity value)
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
public LintResult.Builder clearSeverity()
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Returns:
- This builder for chaining.
-
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;- Specified by:
getFieldNamein interfaceLintResultOrBuilder- Returns:
- The fieldName.
-
getFieldNameBytes
public 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;- Specified by:
getFieldNameBytesin interfaceLintResultOrBuilder- Returns:
- The bytes for fieldName.
-
setFieldName
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;- Parameters:
value- The fieldName to set.- Returns:
- 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:
- This builder for chaining.
-
setFieldNameBytes
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;- Parameters:
value- The bytes for fieldName to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getLocationOffsetin interfaceLintResultOrBuilder- Returns:
- The locationOffset.
-
setLocationOffset
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;- Parameters:
value- The locationOffset to set.- Returns:
- 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:
- This builder for chaining.
-
getDebugMessage
public String getDebugMessage()
Human readable debug message associated with the issue.
string debug_message = 7;- Specified by:
getDebugMessagein interfaceLintResultOrBuilder- Returns:
- The debugMessage.
-
getDebugMessageBytes
public com.google.protobuf.ByteString getDebugMessageBytes()
Human readable debug message associated with the issue.
string debug_message = 7;- Specified by:
getDebugMessageBytesin interfaceLintResultOrBuilder- Returns:
- The bytes for debugMessage.
-
setDebugMessage
public LintResult.Builder setDebugMessage(String value)
Human readable debug message associated with the issue.
string debug_message = 7;- Parameters:
value- The debugMessage to set.- Returns:
- This builder for chaining.
-
clearDebugMessage
public LintResult.Builder clearDebugMessage()
Human readable debug message associated with the issue.
string debug_message = 7;- Returns:
- This builder for chaining.
-
setDebugMessageBytes
public LintResult.Builder setDebugMessageBytes(com.google.protobuf.ByteString value)
Human readable debug message associated with the issue.
string debug_message = 7;- Parameters:
value- The bytes for debugMessage to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LintResult.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
mergeUnknownFields
public final LintResult.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LintResult.Builder>
-
-