Class IamPolicyAnalysisResult.Builder (3.23.0)

public static final class IamPolicyAnalysisResult.Builder extends GeneratedMessageV3.Builder<IamPolicyAnalysisResult.Builder> implements IamPolicyAnalysisResultOrBuilder

IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.

Protobuf type google.cloud.asset.v1.IamPolicyAnalysisResult

Static Methods

getDescriptor()

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

Methods

addAccessControlLists(IamPolicyAnalysisResult.AccessControlList value)

public IamPolicyAnalysisResult.Builder addAccessControlLists(IamPolicyAnalysisResult.AccessControlList value)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
value IamPolicyAnalysisResult.AccessControlList
Returns
Type Description
IamPolicyAnalysisResult.Builder

addAccessControlLists(IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)

public IamPolicyAnalysisResult.Builder addAccessControlLists(IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
builderForValue IamPolicyAnalysisResult.AccessControlList.Builder
Returns
Type Description
IamPolicyAnalysisResult.Builder

addAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList value)

public IamPolicyAnalysisResult.Builder addAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList value)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.AccessControlList
Returns
Type Description
IamPolicyAnalysisResult.Builder

addAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)

public IamPolicyAnalysisResult.Builder addAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.AccessControlList.Builder
Returns
Type Description
IamPolicyAnalysisResult.Builder

addAccessControlListsBuilder()

public IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAccessControlListsBuilder(int index)

public IamPolicyAnalysisResult.AccessControlList.Builder addAccessControlListsBuilder(int index)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

addAllAccessControlLists(Iterable<? extends IamPolicyAnalysisResult.AccessControlList> values)

public IamPolicyAnalysisResult.Builder addAllAccessControlLists(Iterable<? extends IamPolicyAnalysisResult.AccessControlList> values)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public IamPolicyAnalysisResult build()
Returns
Type Description
IamPolicyAnalysisResult

buildPartial()

public IamPolicyAnalysisResult buildPartial()
Returns
Type Description
IamPolicyAnalysisResult

clear()

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

clearAccessControlLists()

public IamPolicyAnalysisResult.Builder clearAccessControlLists()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
IamPolicyAnalysisResult.Builder

clearAttachedResourceFullName()

public IamPolicyAnalysisResult.Builder clearAttachedResourceFullName()

The full resource name of the resource to which the iam_binding policy attaches.

string attached_resource_full_name = 1;

Returns
Type Description
IamPolicyAnalysisResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFullyExplored()

public IamPolicyAnalysisResult.Builder clearFullyExplored()

Represents whether all analyses on the iam_binding have successfully finished.

bool fully_explored = 5;

Returns
Type Description
IamPolicyAnalysisResult.Builder

This builder for chaining.

clearIamBinding()

public IamPolicyAnalysisResult.Builder clearIamBinding()

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
Type Description
IamPolicyAnalysisResult.Builder

clearIdentityList()

public IamPolicyAnalysisResult.Builder clearIdentityList()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
IamPolicyAnalysisResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccessControlLists(int index)

public IamPolicyAnalysisResult.AccessControlList getAccessControlLists(int index)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList

getAccessControlListsBuilder(int index)

public IamPolicyAnalysisResult.AccessControlList.Builder getAccessControlListsBuilder(int index)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessControlList.Builder

getAccessControlListsBuilderList()

public List<IamPolicyAnalysisResult.AccessControlList.Builder> getAccessControlListsBuilderList()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
List<Builder>

getAccessControlListsCount()

public int getAccessControlListsCount()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
int

getAccessControlListsList()

public List<IamPolicyAnalysisResult.AccessControlList> getAccessControlListsList()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
List<AccessControlList>

getAccessControlListsOrBuilder(int index)

public IamPolicyAnalysisResult.AccessControlListOrBuilder getAccessControlListsOrBuilder(int index)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.AccessControlListOrBuilder

getAccessControlListsOrBuilderList()

public List<? extends IamPolicyAnalysisResult.AccessControlListOrBuilder> getAccessControlListsOrBuilderList()

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
Type Description
List<? extends com.google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlListOrBuilder>

getAttachedResourceFullName()

public String getAttachedResourceFullName()

The full resource name of the resource to which the iam_binding policy attaches.

string attached_resource_full_name = 1;

Returns
Type Description
String

The attachedResourceFullName.

getAttachedResourceFullNameBytes()

public ByteString getAttachedResourceFullNameBytes()

The full resource name of the resource to which the iam_binding policy attaches.

string attached_resource_full_name = 1;

Returns
Type Description
ByteString

The bytes for attachedResourceFullName.

getDefaultInstanceForType()

public IamPolicyAnalysisResult getDefaultInstanceForType()
Returns
Type Description
IamPolicyAnalysisResult

getDescriptorForType()

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

getFullyExplored()

public boolean getFullyExplored()

Represents whether all analyses on the iam_binding have successfully finished.

bool fully_explored = 5;

Returns
Type Description
boolean

The fullyExplored.

getIamBinding()

public Binding getIamBinding()

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
Type Description
com.google.iam.v1.Binding

The iamBinding.

getIamBindingBuilder()

public Binding.Builder getIamBindingBuilder()

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
Type Description
com.google.iam.v1.Binding.Builder

getIamBindingOrBuilder()

public BindingOrBuilder getIamBindingOrBuilder()

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
Type Description
com.google.iam.v1.BindingOrBuilder

getIdentityList()

public IamPolicyAnalysisResult.IdentityList getIdentityList()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
IamPolicyAnalysisResult.IdentityList

The identityList.

getIdentityListBuilder()

public IamPolicyAnalysisResult.IdentityList.Builder getIdentityListBuilder()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
IamPolicyAnalysisResult.IdentityList.Builder

getIdentityListOrBuilder()

public IamPolicyAnalysisResult.IdentityListOrBuilder getIdentityListOrBuilder()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
IamPolicyAnalysisResult.IdentityListOrBuilder

hasIamBinding()

public boolean hasIamBinding()

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Returns
Type Description
boolean

Whether the iamBinding field is set.

hasIdentityList()

public boolean hasIdentityList()

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
Type Description
boolean

Whether the identityList field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IamPolicyAnalysisResult other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIamBinding(Binding value)

public IamPolicyAnalysisResult.Builder mergeIamBinding(Binding value)

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Parameter
Name Description
value com.google.iam.v1.Binding
Returns
Type Description
IamPolicyAnalysisResult.Builder

mergeIdentityList(IamPolicyAnalysisResult.IdentityList value)

public IamPolicyAnalysisResult.Builder mergeIdentityList(IamPolicyAnalysisResult.IdentityList value)

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Parameter
Name Description
value IamPolicyAnalysisResult.IdentityList
Returns
Type Description
IamPolicyAnalysisResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeAccessControlLists(int index)

public IamPolicyAnalysisResult.Builder removeAccessControlLists(int index)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
Name Description
index int
Returns
Type Description
IamPolicyAnalysisResult.Builder

setAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList value)

public IamPolicyAnalysisResult.Builder setAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList value)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
Name Description
index int
value IamPolicyAnalysisResult.AccessControlList
Returns
Type Description
IamPolicyAnalysisResult.Builder

setAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)

public IamPolicyAnalysisResult.Builder setAccessControlLists(int index, IamPolicyAnalysisResult.AccessControlList.Builder builderForValue)

The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.

repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
Name Description
index int
builderForValue IamPolicyAnalysisResult.AccessControlList.Builder
Returns
Type Description
IamPolicyAnalysisResult.Builder

setAttachedResourceFullName(String value)

public IamPolicyAnalysisResult.Builder setAttachedResourceFullName(String value)

The full resource name of the resource to which the iam_binding policy attaches.

string attached_resource_full_name = 1;

Parameter
Name Description
value String

The attachedResourceFullName to set.

Returns
Type Description
IamPolicyAnalysisResult.Builder

This builder for chaining.

setAttachedResourceFullNameBytes(ByteString value)

public IamPolicyAnalysisResult.Builder setAttachedResourceFullNameBytes(ByteString value)

The full resource name of the resource to which the iam_binding policy attaches.

string attached_resource_full_name = 1;

Parameter
Name Description
value ByteString

The bytes for attachedResourceFullName to set.

Returns
Type Description
IamPolicyAnalysisResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullyExplored(boolean value)

public IamPolicyAnalysisResult.Builder setFullyExplored(boolean value)

Represents whether all analyses on the iam_binding have successfully finished.

bool fully_explored = 5;

Parameter
Name Description
value boolean

The fullyExplored to set.

Returns
Type Description
IamPolicyAnalysisResult.Builder

This builder for chaining.

setIamBinding(Binding value)

public IamPolicyAnalysisResult.Builder setIamBinding(Binding value)

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Parameter
Name Description
value com.google.iam.v1.Binding
Returns
Type Description
IamPolicyAnalysisResult.Builder

setIamBinding(Binding.Builder builderForValue)

public IamPolicyAnalysisResult.Builder setIamBinding(Binding.Builder builderForValue)

The IAM policy binding under analysis.

.google.iam.v1.Binding iam_binding = 2;

Parameter
Name Description
builderForValue com.google.iam.v1.Binding.Builder
Returns
Type Description
IamPolicyAnalysisResult.Builder

setIdentityList(IamPolicyAnalysisResult.IdentityList value)

public IamPolicyAnalysisResult.Builder setIdentityList(IamPolicyAnalysisResult.IdentityList value)

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Parameter
Name Description
value IamPolicyAnalysisResult.IdentityList
Returns
Type Description
IamPolicyAnalysisResult.Builder

setIdentityList(IamPolicyAnalysisResult.IdentityList.Builder builderForValue)

public IamPolicyAnalysisResult.Builder setIdentityList(IamPolicyAnalysisResult.IdentityList.Builder builderForValue)

The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.

.google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Parameter
Name Description
builderForValue IamPolicyAnalysisResult.IdentityList.Builder
Returns
Type Description
IamPolicyAnalysisResult.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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