Class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder (3.41.0)

public static final class BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder extends GeneratedMessageV3.Builder<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder> implements BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicyOrBuilder

The effective IAM policies on one resource.

Protobuf type google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllPolicies(Iterable<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> values)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addAllPolicies(Iterable<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> values)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo>
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
valueBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
builderForValueBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
NameDescription
indexint
valueBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
NameDescription
indexint
builderForValueBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

addPoliciesBuilder()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

addPoliciesBuilder(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder addPoliciesBuilder(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy build()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

buildPartial()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy buildPartial()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

clear()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clear()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFullResourceName()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearFullResourceName()

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPolicies()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearPolicies()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

clone()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clone()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

getDefaultInstanceForType()

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType()
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFullResourceName()

public String getFullResourceName()

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Returns
TypeDescription
String

The fullResourceName.

getFullResourceNameBytes()

public ByteString getFullResourceNameBytes()

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Returns
TypeDescription
ByteString

The bytes for fullResourceName.

getPolicies(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo getPolicies(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo

getPoliciesBuilder(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder getPoliciesBuilder(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder

getPoliciesBuilderList()

public List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder> getPoliciesBuilderList()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
TypeDescription
List<Builder>

getPoliciesCount()

public int getPoliciesCount()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
TypeDescription
int

getPoliciesList()

public List<BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo> getPoliciesList()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
TypeDescription
List<PolicyInfo>

getPoliciesOrBuilder(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder getPoliciesOrBuilder(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder

getPoliciesOrBuilderList()

public List<? extends BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder> getPoliciesOrBuilderList()

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other)
Parameter
NameDescription
otherBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder
Overrides

removePolicies(int index)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder removePolicies(int index)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullResourceName(String value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setFullResourceName(String value)

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Parameter
NameDescription
valueString

The fullResourceName to set.

Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

This builder for chaining.

setFullResourceNameBytes(ByteString value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setFullResourceNameBytes(ByteString value)

The full_resource_name for which the policies are computed. This is one of the BatchGetEffectiveIamPoliciesRequest.names the caller provides in the request.

string full_resource_name = 1;

Parameter
NameDescription
valueByteString

The bytes for fullResourceName to set.

Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

This builder for chaining.

setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo value)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
NameDescription
indexint
valueBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setPolicies(int index, BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder builderForValue)

The effective policies for the full_resource_name.

These policies include the policy set on the full_resource_name and those set on its parents and ancestors up to the BatchGetEffectiveIamPoliciesRequest.scope. Note that these policies are not filtered according to the resource type of the full_resource_name.

These policies are hierarchically ordered by PolicyInfo.attached_resource starting from full_resource_name itself to its parents and ancestors, such that policies[i]'s PolicyInfo.attached_resource is the child of policies[i+1]'s PolicyInfo.attached_resource, if policies[i+1] exists.

repeated .google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo policies = 2;

Parameters
NameDescription
indexint
builderForValueBatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
Returns
TypeDescription
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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