public final class AnalyzeIamPolicyResponse extends GeneratedMessageV3 implements AnalyzeIamPolicyResponseOrBuilder
A response message for AssetService.AnalyzeIamPolicy.
Protobuf type google.cloud.asset.v1p4beta1.AnalyzeIamPolicyResponse
Static Fields
FULLY_EXPLORED_FIELD_NUMBER
public static final int FULLY_EXPLORED_FIELD_NUMBER
Field Value
MAIN_ANALYSIS_FIELD_NUMBER
public static final int MAIN_ANALYSIS_FIELD_NUMBER
Field Value
NON_CRITICAL_ERRORS_FIELD_NUMBER
public static final int NON_CRITICAL_ERRORS_FIELD_NUMBER
Field Value
SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_IMPERSONATION_ANALYSIS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AnalyzeIamPolicyResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AnalyzeIamPolicyResponse.Builder newBuilder()
Returns
newBuilder(AnalyzeIamPolicyResponse prototype)
public static AnalyzeIamPolicyResponse.Builder newBuilder(AnalyzeIamPolicyResponse prototype)
Parameter
Returns
public static AnalyzeIamPolicyResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeIamPolicyResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AnalyzeIamPolicyResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeIamPolicyResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AnalyzeIamPolicyResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeIamPolicyResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeIamPolicyResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AnalyzeIamPolicyResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AnalyzeIamPolicyResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AnalyzeIamPolicyResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AnalyzeIamPolicyResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AnalyzeIamPolicyResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AnalyzeIamPolicyResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AnalyzeIamPolicyResponse getDefaultInstanceForType()
Returns
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
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
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> | |
getParserForType()
public Parser<AnalyzeIamPolicyResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
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> | |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AnalyzeIamPolicyResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AnalyzeIamPolicyResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AnalyzeIamPolicyResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions