Class LintPolicyResponse.Builder (3.29.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.iam.admin.v1.LintResult>
Returns
TypeDescription
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
NameDescription
valueLintResult
Returns
TypeDescription
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
NameDescription
builderForValueLintResult.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLintResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLintResult.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LintResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LintPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides

build()

public LintPolicyResponse build()
Returns
TypeDescription
LintPolicyResponse

buildPartial()

public LintPolicyResponse buildPartial()
Returns
TypeDescription
LintPolicyResponse

clear()

public LintPolicyResponse.Builder clear()
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LintPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
LintPolicyResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public LintPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides

clone()

public LintPolicyResponse.Builder clone()
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides

getDefaultInstanceForType()

public LintPolicyResponse getDefaultInstanceForType()
Returns
TypeDescription
LintPolicyResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.iam.admin.v1.LintResultOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LintPolicyResponse other)

public LintPolicyResponse.Builder mergeFrom(LintPolicyResponse other)
Parameter
NameDescription
otherLintPolicyResponse
Returns
TypeDescription
LintPolicyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LintPolicyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LintPolicyResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LintPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LintPolicyResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LintPolicyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueLintResult
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLintResult.Builder
Returns
TypeDescription
LintPolicyResponse.Builder

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

public LintPolicyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LintPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LintPolicyResponse.Builder
Overrides