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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy build()
Returns
buildPartial()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy buildPartial()
Returns
clear()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
|
Returns
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
|
Returns
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
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
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
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
|
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy other)
Parameter
Returns
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides