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
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
Name | Description |
values | Iterable<? extends com.google.cloud.asset.v1p4beta1.IamPolicyAnalysisResult.AnalysisState>
|
Returns
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
Name | Description |
values | Iterable<? extends com.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public AnalyzeIamPolicyResponse build()
Returns
buildPartial()
public AnalyzeIamPolicyResponse buildPartial()
Returns
clear()
public AnalyzeIamPolicyResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AnalyzeIamPolicyResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearMainAnalysis()
public AnalyzeIamPolicyResponse.Builder clearMainAnalysis()
The main analysis that matches the original request.
.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeIamPolicyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public AnalyzeIamPolicyResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AnalyzeIamPolicyResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
getMainAnalysisBuilder()
public AnalyzeIamPolicyResponse.IamPolicyAnalysis.Builder getMainAnalysisBuilder()
The main analysis that matches the original request.
.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
getMainAnalysisOrBuilder()
public AnalyzeIamPolicyResponse.IamPolicyAnalysisOrBuilder getMainAnalysisOrBuilder()
The main analysis that matches the original request.
.google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse.IamPolicyAnalysis main_analysis = 1;
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
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
Returns
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
Returns
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
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
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
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
Returns
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
Type | Description |
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
Type | Description |
boolean | Whether the mainAnalysis field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AnalyzeIamPolicyResponse other)
public AnalyzeIamPolicyResponse.Builder mergeFrom(AnalyzeIamPolicyResponse other)
Parameter
Returns
public AnalyzeIamPolicyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeIamPolicyResponse.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeIamPolicyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeIamPolicyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeIamPolicyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides