Class AnalyzeIamPolicyResponse.Builder (3.4.1)

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

A response message for AssetService.AnalyzeIamPolicy.

Protobuf type google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllNonCriticalErrors(Iterable<? extends IamPolicyAnalysisResult.AnalysisState> values)

public AnalyzeIamPolicyResponse.Builder addAllNonCriticalErrors(Iterable<? extends IamPolicyAnalysisResult.AnalysisState> values)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState>
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

addNonCriticalErrors(IamPolicyAnalysisResult.AnalysisState value)

public AnalyzeIamPolicyResponse.Builder addNonCriticalErrors(IamPolicyAnalysisResult.AnalysisState value)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
valueIamPolicyAnalysisResult.AnalysisState
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

addNonCriticalErrors(IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

public AnalyzeIamPolicyResponse.Builder addNonCriticalErrors(IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
builderForValueIamPolicyAnalysisResult.AnalysisState.Builder
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

addNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState value)

public AnalyzeIamPolicyResponse.Builder addNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState value)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.AnalysisState
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

addNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

public AnalyzeIamPolicyResponse.Builder addNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.AnalysisState.Builder
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

addNonCriticalErrorsBuilder()

public IamPolicyAnalysisResult.AnalysisState.Builder addNonCriticalErrorsBuilder()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState.Builder

addNonCriticalErrorsBuilder(int index)

public IamPolicyAnalysisResult.AnalysisState.Builder addNonCriticalErrorsBuilder(int index)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AnalyzeIamPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
valueAnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
builderForValueAnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
NameDescription
indexint
valueAnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
NameDescription
indexint
builderForValueAnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

build()

public AnalyzeIamPolicyResponse build()
Returns
TypeDescription
AnalyzeIamPolicyResponse

buildPartial()

public AnalyzeIamPolicyResponse buildPartial()
Returns
TypeDescription
AnalyzeIamPolicyResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearMainAnalysis()

public AnalyzeIamPolicyResponse.Builder clearMainAnalysis()

The main analysis that matches the original request.

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

Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

clearNonCriticalErrors()

public AnalyzeIamPolicyResponse.Builder clearNonCriticalErrors()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public AnalyzeIamPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

clone()

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

getDefaultInstanceForType()

public AnalyzeIamPolicyResponse getDefaultInstanceForType()
Returns
TypeDescription
AnalyzeIamPolicyResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The fullyExplored.

getMainAnalysis()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis getMainAnalysis()

The main analysis that matches the original request.

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

Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis

The mainAnalysis.

getMainAnalysisBuilder()

public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder()

The main analysis that matches the original request.

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

Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder

getMainAnalysisOrBuilder()

public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder()

The main analysis that matches the original request.

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

Returns
TypeDescription
AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder

getNonCriticalErrors(int index)

public IamPolicyAnalysisResult.AnalysisState getNonCriticalErrors(int index)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState

getNonCriticalErrorsBuilder(int index)

public IamPolicyAnalysisResult.AnalysisState.Builder getNonCriticalErrorsBuilder(int index)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisState.Builder

getNonCriticalErrorsBuilderList()

public List<IamPolicyAnalysisResult.AnalysisState.Builder> getNonCriticalErrorsBuilderList()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
List<Builder>

getNonCriticalErrorsCount()

public int getNonCriticalErrorsCount()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
int

getNonCriticalErrorsList()

public List<IamPolicyAnalysisResult.AnalysisState> getNonCriticalErrorsList()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
List<AnalysisState>

getNonCriticalErrorsOrBuilder(int index)

public IamPolicyAnalysisResult.AnalysisStateOrBuilder getNonCriticalErrorsOrBuilder(int index)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
IamPolicyAnalysisResult.AnalysisStateOrBuilder

getNonCriticalErrorsOrBuilderList()

public List<? extends IamPolicyAnalysisResult.AnalysisStateOrBuilder> getNonCriticalErrorsOrBuilderList()

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisStateOrBuilder>

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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
TypeDescription
List<Builder>

getServiceAccountImpersonationAnalysisCount()

public int getServiceAccountImpersonationAnalysisCount()

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

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

Returns
TypeDescription
int

getServiceAccountImpersonationAnalysisList()

public List<AnalyzeIamPolicyResponse.IamPolicyAnalysis> getServiceAccountImpersonationAnalysisList()

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

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

Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder>

hasMainAnalysis()

public boolean hasMainAnalysis()

The main analysis that matches the original request.

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

Returns
TypeDescription
boolean

Whether the mainAnalysis field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AnalyzeIamPolicyResponse other)

public AnalyzeIamPolicyResponse.Builder mergeFrom(AnalyzeIamPolicyResponse other)
Parameter
NameDescription
otherAnalyzeIamPolicyResponse
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AnalyzeIamPolicyResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Parameter
NameDescription
valueAnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AnalyzeIamPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder
Overrides

removeNonCriticalErrors(int index)

public AnalyzeIamPolicyResponse.Builder removeNonCriticalErrors(int index)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The fullyExplored to set.

Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Parameter
NameDescription
valueAnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;

Parameter
NameDescription
builderForValueAnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

setNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState value)

public AnalyzeIamPolicyResponse.Builder setNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState value)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.AnalysisState
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

setNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

public AnalyzeIamPolicyResponse.Builder setNonCriticalErrors(int index, IamPolicyAnalysisResult.AnalysisState.Builder builderForValue)

A list of non-critical errors happened during the request handling to explain why fully_explored is false, or empty if no error happened.

repeated .google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState non_critical_errors = 4;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.AnalysisState.Builder
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

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

public AnalyzeIamPolicyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
NameDescription
indexint
valueAnalyzeIamPolicyResponse.IamPolicyAnalysis
Returns
TypeDescription
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis service_account_impersonation_analysis = 2;

Parameters
NameDescription
indexint
builderForValueAnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder
Returns
TypeDescription
AnalyzeIamPolicyResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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