Class LintPolicyResponse.Builder (3.42.0)

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
Type Description
Descriptor

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
Type Description
LintPolicyResponse.Builder

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
Name Description
value LintResult
Returns
Type Description
LintPolicyResponse.Builder

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
Name Description
builderForValue LintResult.Builder
Returns
Type Description
LintPolicyResponse.Builder

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
Name Description
index int
value LintResult
Returns
Type Description
LintPolicyResponse.Builder

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
Name Description
index int
builderForValue LintResult.Builder
Returns
Type Description
LintPolicyResponse.Builder

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
Type Description
LintResult.Builder

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
Name Description
index int
Returns
Type Description
LintResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LintPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LintPolicyResponse.Builder
Overrides

build()

public LintPolicyResponse build()
Returns
Type Description
LintPolicyResponse

buildPartial()

public LintPolicyResponse buildPartial()
Returns
Type Description
LintPolicyResponse

clear()

public LintPolicyResponse.Builder clear()
Returns
Type Description
LintPolicyResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LintPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LintPolicyResponse.Builder
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
Type Description
LintPolicyResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public LintPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LintPolicyResponse.Builder
Overrides

clone()

public LintPolicyResponse.Builder clone()
Returns
Type Description
LintPolicyResponse.Builder
Overrides

getDefaultInstanceForType()

public LintPolicyResponse getDefaultInstanceForType()
Returns
Type Description
LintPolicyResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
LintResult

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
Name Description
index int
Returns
Type Description
LintResult.Builder

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
Type Description
List<Builder>

getLintResultsCount()

public int getLintResultsCount()

List of lint results sorted by severity in descending order.

repeated .google.iam.admin.v1.LintResult lint_results = 1;

Returns
Type Description
int

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
Type Description
List<LintResult>

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
Name Description
index int
Returns
Type Description
LintResultOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LintPolicyResponse other)

public LintPolicyResponse.Builder mergeFrom(LintPolicyResponse other)
Parameter
Name Description
other LintPolicyResponse
Returns
Type Description
LintPolicyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LintPolicyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LintPolicyResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LintPolicyResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LintPolicyResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LintPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LintPolicyResponse.Builder
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
Name Description
index int
Returns
Type Description
LintPolicyResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LintPolicyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LintPolicyResponse.Builder
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
Name Description
index int
value LintResult
Returns
Type Description
LintPolicyResponse.Builder

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
Name Description
index int
builderForValue LintResult.Builder
Returns
Type Description
LintPolicyResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LintPolicyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LintPolicyResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LintPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LintPolicyResponse.Builder
Overrides