Class IamPolicyAnalysisResult.Builder (3.4.1)

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.v1p4beta1.IamPolicyAnalysisResult

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
valueIamPolicyAnalysisResult.AccessControlList
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
builderForValueIamPolicyAnalysisResult.AccessControlList.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.AccessControlList
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.AccessControlList.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisResult.Builder
Overrides

build()

public IamPolicyAnalysisResult build()
Returns
TypeDescription
IamPolicyAnalysisResult

buildPartial()

public IamPolicyAnalysisResult buildPartial()
Returns
TypeDescription
IamPolicyAnalysisResult

clear()

public IamPolicyAnalysisResult.Builder clear()
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
TypeDescription
IamPolicyAnalysisResult.Builder

clearAttachedResourceFullName()

public IamPolicyAnalysisResult.Builder clearAttachedResourceFullName()

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

string attached_resource_full_name = 1;

Returns
TypeDescription
IamPolicyAnalysisResult.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public IamPolicyAnalysisResult.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
IamPolicyAnalysisResult.Builder
Overrides

clearFullyExplored()

public IamPolicyAnalysisResult.Builder clearFullyExplored()

Represents whether all nodes in the transitive closure of the iam_binding node have been explored.

bool fully_explored = 5;

Returns
TypeDescription
IamPolicyAnalysisResult.Builder

This builder for chaining.

clearIamBinding()

public IamPolicyAnalysisResult.Builder clearIamBinding()

The Cloud IAM policy binding under analysis.

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

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
IamPolicyAnalysisResult.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public IamPolicyAnalysisResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
IamPolicyAnalysisResult.Builder
Overrides

clone()

public IamPolicyAnalysisResult.Builder clone()
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

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

getAttachedResourceFullName()

public String getAttachedResourceFullName()

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

string attached_resource_full_name = 1;

Returns
TypeDescription
String

The attachedResourceFullName.

getAttachedResourceFullNameBytes()

public ByteString getAttachedResourceFullNameBytes()

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

string attached_resource_full_name = 1;

Returns
TypeDescription
ByteString

The bytes for attachedResourceFullName.

getDefaultInstanceForType()

public IamPolicyAnalysisResult getDefaultInstanceForType()
Returns
TypeDescription
IamPolicyAnalysisResult

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFullyExplored()

public boolean getFullyExplored()

Represents whether all nodes in the transitive closure of the iam_binding node have been explored.

bool fully_explored = 5;

Returns
TypeDescription
boolean

The fullyExplored.

getIamBinding()

public Binding getIamBinding()

The Cloud IAM policy binding under analysis.

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

Returns
TypeDescription
com.google.iam.v1.Binding

The iamBinding.

getIamBindingBuilder()

public Binding.Builder getIamBindingBuilder()

The Cloud IAM policy binding under analysis.

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

Returns
TypeDescription
com.google.iam.v1.Binding.Builder

getIamBindingOrBuilder()

public BindingOrBuilder getIamBindingOrBuilder()

The Cloud IAM policy binding under analysis.

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

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
IamPolicyAnalysisResult.IdentityListOrBuilder

hasIamBinding()

public boolean hasIamBinding()

The Cloud IAM policy binding under analysis.

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

Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Returns
TypeDescription
boolean

Whether the identityList field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(IamPolicyAnalysisResult other)

public IamPolicyAnalysisResult.Builder mergeFrom(IamPolicyAnalysisResult other)
Parameter
NameDescription
otherIamPolicyAnalysisResult
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public IamPolicyAnalysisResult.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
IamPolicyAnalysisResult.Builder
Overrides

mergeIamBinding(Binding value)

public IamPolicyAnalysisResult.Builder mergeIamBinding(Binding value)

The Cloud IAM policy binding under analysis.

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

Parameter
NameDescription
valuecom.google.iam.v1.Binding
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Parameter
NameDescription
valueIamPolicyAnalysisResult.IdentityList
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final IamPolicyAnalysisResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
NameDescription
indexint
valueIamPolicyAnalysisResult.AccessControlList
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;

Parameters
NameDescription
indexint
builderForValueIamPolicyAnalysisResult.AccessControlList.Builder
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

setAttachedResourceFullName(String value)

public IamPolicyAnalysisResult.Builder setAttachedResourceFullName(String value)

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

string attached_resource_full_name = 1;

Parameter
NameDescription
valueString

The attachedResourceFullName to set.

Returns
TypeDescription
IamPolicyAnalysisResult.Builder

This builder for chaining.

setAttachedResourceFullNameBytes(ByteString value)

public IamPolicyAnalysisResult.Builder setAttachedResourceFullNameBytes(ByteString value)

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

string attached_resource_full_name = 1;

Parameter
NameDescription
valueByteString

The bytes for attachedResourceFullName to set.

Returns
TypeDescription
IamPolicyAnalysisResult.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public IamPolicyAnalysisResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
IamPolicyAnalysisResult.Builder
Overrides

setFullyExplored(boolean value)

public IamPolicyAnalysisResult.Builder setFullyExplored(boolean value)

Represents whether all nodes in the transitive closure of the iam_binding node have been explored.

bool fully_explored = 5;

Parameter
NameDescription
valueboolean

The fullyExplored to set.

Returns
TypeDescription
IamPolicyAnalysisResult.Builder

This builder for chaining.

setIamBinding(Binding value)

public IamPolicyAnalysisResult.Builder setIamBinding(Binding value)

The Cloud IAM policy binding under analysis.

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

Parameter
NameDescription
valuecom.google.iam.v1.Binding
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

setIamBinding(Binding.Builder builderForValue)

public IamPolicyAnalysisResult.Builder setIamBinding(Binding.Builder builderForValue)

The Cloud IAM policy binding under analysis.

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

Parameter
NameDescription
builderForValuecom.google.iam.v1.Binding.Builder
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Parameter
NameDescription
valueIamPolicyAnalysisResult.IdentityList
Returns
TypeDescription
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.v1p4beta1.IamPolicyAnalysisResult.IdentityList identity_list = 4;

Parameter
NameDescription
builderForValueIamPolicyAnalysisResult.IdentityList.Builder
Returns
TypeDescription
IamPolicyAnalysisResult.Builder

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

public IamPolicyAnalysisResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
IamPolicyAnalysisResult.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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