Class AnalyzeIamPolicyResponse.Builder (3.34.0)

public static final class AnalyzeIamPolicyResponse.Builder extends GeneratedMessageV3.Builder<AnalyzeIamPolicyResponse.Builder> implements AnalyzeIamPolicyResponseOrBuilder

A response message for AssetService.AnalyzeIamPolicy.

Protobuf type google.cloud.asset.v1.AnalyzeIamPolicyResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllServiceAccountImpersonationAnalysis(Iterable<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysis> values)

public AnalyzeIamPolicyResponse.Builder addAllServiceAccountImpersonationAnalysis(Iterable<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysis> values)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
values Iterable<? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
value AnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
builderForValue AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
Name Description
index int
value AnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

public AnalyzeIamPolicyResponse.Builder addServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
Name Description
index int
builderForValue AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

addServiceAccountImpersonationAnalysisBuilder()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

addServiceAccountImpersonationAnalysisBuilder(int index)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder addServiceAccountImpersonationAnalysisBuilder(int index)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

build()

public AnalyzeIamPolicyResponse build()
Returns
Type Description
AnalyzeIamPolicyResponse

buildPartial()

public AnalyzeIamPolicyResponse buildPartial()
Returns
Type Description
AnalyzeIamPolicyResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public AnalyzeIamPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AnalyzeIamPolicyResponse.Builder
Overrides

clearFullyExplored()

public AnalyzeIamPolicyResponse.Builder clearFullyExplored()

Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.

bool fully_explored = 3;

Returns
Type Description
AnalyzeIamPolicyResponse.Builder

This builder for chaining.

clearMainAnalysis()

public AnalyzeIamPolicyResponse.Builder clearMainAnalysis()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
AnalyzeIamPolicyResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearServiceAccountImpersonationAnalysis()

public AnalyzeIamPolicyResponse.Builder clearServiceAccountImpersonationAnalysis()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
AnalyzeIamPolicyResponse.Builder

clone()

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

getDefaultInstanceForType()

public AnalyzeIamPolicyResponse getDefaultInstanceForType()
Returns
Type Description
AnalyzeIamPolicyResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFullyExplored()

public boolean getFullyExplored()

Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.

bool fully_explored = 3;

Returns
Type Description
boolean

The fullyExplored.

getMainAnalysis()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

The mainAnalysis.

getMainAnalysisBuilder()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

getMainAnalysisOrBuilder()

public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder

getServiceAccountImpersonationAnalysis(int index)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getServiceAccountImpersonationAnalysis(int index)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis

getServiceAccountImpersonationAnalysisBuilder(int index)

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getServiceAccountImpersonationAnalysisBuilder(int index)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

getServiceAccountImpersonationAnalysisBuilderList()

public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder> getServiceAccountImpersonationAnalysisBuilderList()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
List<Builder>

getServiceAccountImpersonationAnalysisCount()

public int getServiceAccountImpersonationAnalysisCount()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
int

getServiceAccountImpersonationAnalysisList()

public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis> getServiceAccountImpersonationAnalysisList()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
List<IamPolicyAnalysis>

getServiceAccountImpersonationAnalysisOrBuilder(int index)

public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getServiceAccountImpersonationAnalysisOrBuilder(int index)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder

getServiceAccountImpersonationAnalysisOrBuilderList()

public List<? extends AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder> getServiceAccountImpersonationAnalysisOrBuilderList()

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>

hasMainAnalysis()

public boolean hasMainAnalysis()

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Returns
Type Description
boolean

Whether the mainAnalysis field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AnalyzeIamPolicyResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

public AnalyzeIamPolicyResponse.Builder mergeMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Parameter
Name Description
value AnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AnalyzeIamPolicyResponse.Builder
Overrides

removeServiceAccountImpersonationAnalysis(int index)

public AnalyzeIamPolicyResponse.Builder removeServiceAccountImpersonationAnalysis(int index)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
Name Description
index int
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullyExplored(boolean value)

public AnalyzeIamPolicyResponse.Builder setFullyExplored(boolean value)

Represents whether all entries in the main_analysis and service_account_impersonation_analysis have been fully explored to answer the query in the request.

bool fully_explored = 3;

Parameter
Name Description
value boolean

The fullyExplored to set.

Returns
Type Description
AnalyzeIamPolicyResponse.Builder

This builder for chaining.

setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

public AnalyzeIamPolicyResponse.Builder setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Parameter
Name Description
value AnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

public AnalyzeIamPolicyResponse.Builder setMainAnalysis(AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

The main analysis that matches the original request.

.google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Parameter
Name Description
builderForValue AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

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

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

setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

public AnalyzeIamPolicyResponse.Builder setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis value)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
Name Description
index int
value AnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

public AnalyzeIamPolicyResponse.Builder setServiceAccountImpersonationAnalysis(int index, AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder builderForValue)

The service account impersonation analysis if [AnalyzeIamPolicyRequest.analyze_service_account_impersonation][] is enabled.

repeated .google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
Name Description
index int
builderForValue AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
Type Description
AnalyzeIamPolicyResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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