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.GeneratedMessage.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.GeneratedMessage.Builder<LintResult.Builder>
implements LintResultOrBuilder
Structured response of a single validation unit.Protobuf type
google.iam.admin.v1.LintResult-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Human readable debug message associated with the issue.The name of the field for which this lint result is about.The validation unit level.0-based character position of problematic construct within the object identified by `field_name`.The validation unit severity.The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".Human readable debug message associated with the issue.com.google.protobuf.ByteStringHuman readable debug message associated with the issue.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the field for which this lint result is about.com.google.protobuf.ByteStringThe name of the field for which this lint result is about.getLevel()The validation unit level.intThe validation unit level.int0-based character position of problematic construct within the object identified by `field_name`.The validation unit severity.intThe validation unit severity.The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".com.google.protobuf.ByteStringThe validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(LintResult other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setDebugMessage(String value) Human readable debug message associated with the issue.setDebugMessageBytes(com.google.protobuf.ByteString value) Human readable debug message associated with the issue.setFieldName(String value) The name of the field for which this lint result is about.setFieldNameBytes(com.google.protobuf.ByteString value) The name of the field for which this lint result is about.setLevel(LintResult.Level value) The validation unit level.setLevelValue(int value) The validation unit level.setLocationOffset(int value) 0-based character position of problematic construct within the object identified by `field_name`.setSeverity(LintResult.Severity value) The validation unit severity.setSeverityValue(int value) The validation unit severity.setValidationUnitName(String value) The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".setValidationUnitNameBytes(com.google.protobuf.ByteString value) The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<LintResult.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<LintResult.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LintResult.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Specified by:
getLevelin interfaceLintResultOrBuilder- Returns:
- The level.
-
setLevel
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Parameters:
value- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
The validation unit level.
.google.iam.admin.v1.LintResult.Level level = 1;- Returns:
- This builder for chaining.
-
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
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
The validation unit name, for instance "lintValidationUnits/ConditionComplexityCheck".
string validation_unit_name = 2;- Returns:
- This builder for chaining.
-
setValidationUnitNameBytes
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
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
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Specified by:
getSeverityin interfaceLintResultOrBuilder- Returns:
- The severity.
-
setSeverity
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
The validation unit severity.
.google.iam.admin.v1.LintResult.Severity severity = 3;- Returns:
- This builder for chaining.
-
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
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
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
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
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
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
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
Human readable debug message associated with the issue.
string debug_message = 7;- Parameters:
value- The debugMessage to set.- Returns:
- This builder for chaining.
-
clearDebugMessage
Human readable debug message associated with the issue.
string debug_message = 7;- Returns:
- This builder for chaining.
-
setDebugMessageBytes
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.
-