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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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 |
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo>
|
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;
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;
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;
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;
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;
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 |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy build()
buildPartial()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy buildPartial()
clear()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
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 |
Type |
Description |
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 |
Name |
Description |
index |
int
|
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 |
Name |
Description |
index |
int
|
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;
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 |
Type |
Description |
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;
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 |
Name |
Description |
index |
int
|
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 |
Type |
Description |
List<? extends com.google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
Name |
Description |
value |
String
The fullResourceName to set.
|
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 |
Name |
Description |
value |
ByteString
The bytes for fullResourceName to set.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides