Interface IamPolicyAnalysisResult.AccessOrBuilder (3.76.0)
public static interface IamPolicyAnalysisResult.AccessOrBuilder extends MessageOrBuilder
Methods
getAnalysisState()
public abstract IamPolicyAnalysisState getAnalysisState()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
getAnalysisStateOrBuilder()
public abstract IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
getOneofAccessCase()
public abstract IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase()
getPermission()
public abstract String getPermission()
The permission.
string permission = 2;
Returns |
Type |
Description |
String |
The permission.
|
getPermissionBytes()
public abstract ByteString getPermissionBytes()
The permission.
string permission = 2;
Returns |
Type |
Description |
ByteString |
The bytes for permission.
|
getRole()
public abstract String getRole()
The role.
string role = 1;
Returns |
Type |
Description |
String |
The role.
|
getRoleBytes()
public abstract ByteString getRoleBytes()
The role.
string role = 1;
Returns |
Type |
Description |
ByteString |
The bytes for role.
|
hasAnalysisState()
public abstract boolean hasAnalysisState()
The analysis state of this access.
.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
Returns |
Type |
Description |
boolean |
Whether the analysisState field is set.
|
hasPermission()
public abstract boolean hasPermission()
The permission.
string permission = 2;
Returns |
Type |
Description |
boolean |
Whether the permission field is set.
|
hasRole()
public abstract boolean hasRole()
The role.
string role = 1;
Returns |
Type |
Description |
boolean |
Whether the role field is set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Interface IamPolicyAnalysisResult.AccessOrBuilder (3.76.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.76.0 (latest)](/java/docs/reference/google-cloud-asset/latest/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.74.0](/java/docs/reference/google-cloud-asset/3.74.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.72.0](/java/docs/reference/google-cloud-asset/3.72.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.71.0](/java/docs/reference/google-cloud-asset/3.71.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.68.0](/java/docs/reference/google-cloud-asset/3.68.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.67.0](/java/docs/reference/google-cloud-asset/3.67.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.66.0](/java/docs/reference/google-cloud-asset/3.66.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.64.0](/java/docs/reference/google-cloud-asset/3.64.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.63.0](/java/docs/reference/google-cloud-asset/3.63.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.62.0](/java/docs/reference/google-cloud-asset/3.62.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.61.0](/java/docs/reference/google-cloud-asset/3.61.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.60.0](/java/docs/reference/google-cloud-asset/3.60.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.59.0](/java/docs/reference/google-cloud-asset/3.59.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.58.0](/java/docs/reference/google-cloud-asset/3.58.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.57.0](/java/docs/reference/google-cloud-asset/3.57.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.56.0](/java/docs/reference/google-cloud-asset/3.56.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.55.0](/java/docs/reference/google-cloud-asset/3.55.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.53.0](/java/docs/reference/google-cloud-asset/3.53.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.52.0](/java/docs/reference/google-cloud-asset/3.52.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.51.0](/java/docs/reference/google-cloud-asset/3.51.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.50.0](/java/docs/reference/google-cloud-asset/3.50.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.49.0](/java/docs/reference/google-cloud-asset/3.49.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.48.0](/java/docs/reference/google-cloud-asset/3.48.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.47.0](/java/docs/reference/google-cloud-asset/3.47.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.46.0](/java/docs/reference/google-cloud-asset/3.46.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.45.0](/java/docs/reference/google-cloud-asset/3.45.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.44.0](/java/docs/reference/google-cloud-asset/3.44.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.43.0](/java/docs/reference/google-cloud-asset/3.43.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.41.0](/java/docs/reference/google-cloud-asset/3.41.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.40.0](/java/docs/reference/google-cloud-asset/3.40.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.39.0](/java/docs/reference/google-cloud-asset/3.39.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.38.0](/java/docs/reference/google-cloud-asset/3.38.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.37.0](/java/docs/reference/google-cloud-asset/3.37.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.36.0](/java/docs/reference/google-cloud-asset/3.36.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.35.0](/java/docs/reference/google-cloud-asset/3.35.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.34.0](/java/docs/reference/google-cloud-asset/3.34.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.33.0](/java/docs/reference/google-cloud-asset/3.33.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.32.0](/java/docs/reference/google-cloud-asset/3.32.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.31.0](/java/docs/reference/google-cloud-asset/3.31.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.28.0](/java/docs/reference/google-cloud-asset/3.28.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.27.0](/java/docs/reference/google-cloud-asset/3.27.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.26.0](/java/docs/reference/google-cloud-asset/3.26.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.25.0](/java/docs/reference/google-cloud-asset/3.25.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.24.0](/java/docs/reference/google-cloud-asset/3.24.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.23.0](/java/docs/reference/google-cloud-asset/3.23.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.22.0](/java/docs/reference/google-cloud-asset/3.22.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.21.0](/java/docs/reference/google-cloud-asset/3.21.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.20.0](/java/docs/reference/google-cloud-asset/3.20.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.19.0](/java/docs/reference/google-cloud-asset/3.19.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.18.0](/java/docs/reference/google-cloud-asset/3.18.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.17.0](/java/docs/reference/google-cloud-asset/3.17.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.16.0](/java/docs/reference/google-cloud-asset/3.16.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.15.0](/java/docs/reference/google-cloud-asset/3.15.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.14.0](/java/docs/reference/google-cloud-asset/3.14.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.13.0](/java/docs/reference/google-cloud-asset/3.13.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.12.0](/java/docs/reference/google-cloud-asset/3.12.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.11.0](/java/docs/reference/google-cloud-asset/3.11.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.10.0](/java/docs/reference/google-cloud-asset/3.10.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.9.0](/java/docs/reference/google-cloud-asset/3.9.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.8.0](/java/docs/reference/google-cloud-asset/3.8.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.7.2-SNAPSHOT](/java/docs/reference/google-cloud-asset/3.7.2-SNAPSHOT/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.6.0](/java/docs/reference/google-cloud-asset/3.6.0/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.4.1](/java/docs/reference/google-cloud-asset/3.4.1/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.3.1](/java/docs/reference/google-cloud-asset/3.3.1/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder)\n- [3.2.17](/java/docs/reference/google-cloud-asset/3.2.17/com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessOrBuilder) \n\n public static interface IamPolicyAnalysisResult.AccessOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getAnalysisState()\n\n public abstract IamPolicyAnalysisState getAnalysisState()\n\nThe analysis state of this access.\n\n`.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;`\n\n### getAnalysisStateOrBuilder()\n\n public abstract IamPolicyAnalysisStateOrBuilder getAnalysisStateOrBuilder()\n\nThe analysis state of this access.\n\n`.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;`\n\n### getOneofAccessCase()\n\n public abstract IamPolicyAnalysisResult.Access.OneofAccessCase getOneofAccessCase()\n\n### getPermission()\n\n public abstract String getPermission()\n\nThe permission.\n\n`string permission = 2;`\n\n### getPermissionBytes()\n\n public abstract ByteString getPermissionBytes()\n\nThe permission.\n\n`string permission = 2;`\n\n### getRole()\n\n public abstract String getRole()\n\nThe role.\n\n`string role = 1;`\n\n### getRoleBytes()\n\n public abstract ByteString getRoleBytes()\n\nThe role.\n\n`string role = 1;`\n\n### hasAnalysisState()\n\n public abstract boolean hasAnalysisState()\n\nThe analysis state of this access.\n\n`.google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;`\n\n### hasPermission()\n\n public abstract boolean hasPermission()\n\nThe permission.\n\n`string permission = 2;`\n\n### hasRole()\n\n public abstract boolean hasRole()\n\nThe role.\n\n`string role = 1;`"]]