public static final class LintPolicyResponse.Builder extends GeneratedMessageV3.Builder<LintPolicyResponse.Builder> implements LintPolicyResponseOrBuilder
The response of a lint operation. An empty response indicates
the operation was able to fully execute and no lint issue was found.
Protobuf type google.iam.admin.v1.LintPolicyResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllLintResults(Iterable<? extends LintResult> values)
public LintPolicyResponse.Builder addAllLintResults(Iterable<? extends LintResult> values)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.iam.admin.v1.LintResult>
|
Returns
addLintResults(LintResult value)
public LintPolicyResponse.Builder addLintResults(LintResult value)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Returns
addLintResults(LintResult.Builder builderForValue)
public LintPolicyResponse.Builder addLintResults(LintResult.Builder builderForValue)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Returns
addLintResults(int index, LintResult value)
public LintPolicyResponse.Builder addLintResults(int index, LintResult value)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameters
Returns
addLintResults(int index, LintResult.Builder builderForValue)
public LintPolicyResponse.Builder addLintResults(int index, LintResult.Builder builderForValue)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameters
Returns
addLintResultsBuilder()
public LintResult.Builder addLintResultsBuilder()
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Returns
addLintResultsBuilder(int index)
public LintResult.Builder addLintResultsBuilder(int index)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LintPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LintPolicyResponse build()
Returns
buildPartial()
public LintPolicyResponse buildPartial()
Returns
clear()
public LintPolicyResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public LintPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLintResults()
public LintPolicyResponse.Builder clearLintResults()
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public LintPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LintPolicyResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LintPolicyResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLintResults(int index)
public LintResult getLintResults(int index)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Returns
getLintResultsBuilder(int index)
public LintResult.Builder getLintResultsBuilder(int index)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Returns
getLintResultsBuilderList()
public List<LintResult.Builder> getLintResultsBuilderList()
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Returns
getLintResultsCount()
public int getLintResultsCount()
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Returns
getLintResultsList()
public List<LintResult> getLintResultsList()
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Returns
getLintResultsOrBuilder(int index)
public LintResultOrBuilder getLintResultsOrBuilder(int index)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Returns
getLintResultsOrBuilderList()
public List<? extends LintResultOrBuilder> getLintResultsOrBuilderList()
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Returns
Type | Description |
List<? extends com.google.iam.admin.v1.LintResultOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LintPolicyResponse other)
public LintPolicyResponse.Builder mergeFrom(LintPolicyResponse other)
Parameter
Returns
public LintPolicyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LintPolicyResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LintPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeLintResults(int index)
public LintPolicyResponse.Builder removeLintResults(int index)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LintPolicyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLintResults(int index, LintResult value)
public LintPolicyResponse.Builder setLintResults(int index, LintResult value)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameters
Returns
setLintResults(int index, LintResult.Builder builderForValue)
public LintPolicyResponse.Builder setLintResults(int index, LintResult.Builder builderForValue)
List of lint results sorted by severity
in descending order.
repeated .google.iam.admin.v1.LintResult lint_results = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LintPolicyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LintPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides