public static final class PrivilegedAccess.GcpIamAccess.Builder extends GeneratedMessageV3.Builder<PrivilegedAccess.GcpIamAccess.Builder> implements PrivilegedAccess.GcpIamAccessOrBuilder
GcpIamAccess represents IAM based access control on a Google Cloud
resource. Refer to https://cloud.google.com/iam/docs to understand more
about IAM.
Protobuf type google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
addAllRoleBindings(Iterable<? extends PrivilegedAccess.GcpIamAccess.RoleBinding> values)
public PrivilegedAccess.GcpIamAccess.Builder addAllRoleBindings(Iterable<? extends PrivilegedAccess.GcpIamAccess.RoleBinding> values)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PrivilegedAccess.GcpIamAccess.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRoleBindings(PrivilegedAccess.GcpIamAccess.RoleBinding value)
public PrivilegedAccess.GcpIamAccess.Builder addRoleBindings(PrivilegedAccess.GcpIamAccess.RoleBinding value)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
addRoleBindings(PrivilegedAccess.GcpIamAccess.RoleBinding.Builder builderForValue)
public PrivilegedAccess.GcpIamAccess.Builder addRoleBindings(PrivilegedAccess.GcpIamAccess.RoleBinding.Builder builderForValue)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
addRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding value)
public PrivilegedAccess.GcpIamAccess.Builder addRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding value)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
addRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding.Builder builderForValue)
public PrivilegedAccess.GcpIamAccess.Builder addRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding.Builder builderForValue)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
addRoleBindingsBuilder()
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder addRoleBindingsBuilder()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
addRoleBindingsBuilder(int index)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder addRoleBindingsBuilder(int index)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
build()
public PrivilegedAccess.GcpIamAccess build()
buildPartial()
public PrivilegedAccess.GcpIamAccess buildPartial()
clear()
public PrivilegedAccess.GcpIamAccess.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public PrivilegedAccess.GcpIamAccess.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PrivilegedAccess.GcpIamAccess.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearResource()
public PrivilegedAccess.GcpIamAccess.Builder clearResource()
Required. Name of the resource.
string resource = 2 [(.google.api.field_behavior) = REQUIRED];
clearResourceType()
public PrivilegedAccess.GcpIamAccess.Builder clearResourceType()
Required. The type of this resource.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
clearRoleBindings()
public PrivilegedAccess.GcpIamAccess.Builder clearRoleBindings()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
clone()
public PrivilegedAccess.GcpIamAccess.Builder clone()
Overrides
getDefaultInstanceForType()
public PrivilegedAccess.GcpIamAccess getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getResource()
public String getResource()
Required. Name of the resource.
string resource = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The resource.
|
getResourceBytes()
public ByteString getResourceBytes()
Required. Name of the resource.
string resource = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for resource.
|
getResourceType()
public String getResourceType()
Required. The type of this resource.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The resourceType.
|
getResourceTypeBytes()
public ByteString getResourceTypeBytes()
Required. The type of this resource.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for resourceType.
|
getRoleBindings(int index)
public PrivilegedAccess.GcpIamAccess.RoleBinding getRoleBindings(int index)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRoleBindingsBuilder(int index)
public PrivilegedAccess.GcpIamAccess.RoleBinding.Builder getRoleBindingsBuilder(int index)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRoleBindingsBuilderList()
public List<PrivilegedAccess.GcpIamAccess.RoleBinding.Builder> getRoleBindingsBuilderList()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
getRoleBindingsCount()
public int getRoleBindingsCount()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
|
getRoleBindingsList()
public List<PrivilegedAccess.GcpIamAccess.RoleBinding> getRoleBindingsList()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
getRoleBindingsOrBuilder(int index)
public PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder getRoleBindingsOrBuilder(int index)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
getRoleBindingsOrBuilderList()
public List<? extends PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder> getRoleBindingsOrBuilderList()
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
List<? extends com.google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBindingOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PrivilegedAccess.GcpIamAccess other)
public PrivilegedAccess.GcpIamAccess.Builder mergeFrom(PrivilegedAccess.GcpIamAccess other)
public PrivilegedAccess.GcpIamAccess.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PrivilegedAccess.GcpIamAccess.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PrivilegedAccess.GcpIamAccess.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRoleBindings(int index)
public PrivilegedAccess.GcpIamAccess.Builder removeRoleBindings(int index)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public PrivilegedAccess.GcpIamAccess.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PrivilegedAccess.GcpIamAccess.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResource(String value)
public PrivilegedAccess.GcpIamAccess.Builder setResource(String value)
Required. Name of the resource.
string resource = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The resource to set.
|
setResourceBytes(ByteString value)
public PrivilegedAccess.GcpIamAccess.Builder setResourceBytes(ByteString value)
Required. Name of the resource.
string resource = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for resource to set.
|
setResourceType(String value)
public PrivilegedAccess.GcpIamAccess.Builder setResourceType(String value)
Required. The type of this resource.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
String
The resourceType to set.
|
setResourceTypeBytes(ByteString value)
public PrivilegedAccess.GcpIamAccess.Builder setResourceTypeBytes(ByteString value)
Required. The type of this resource.
string resource_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
ByteString
The bytes for resourceType to set.
|
setRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding value)
public PrivilegedAccess.GcpIamAccess.Builder setRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding value)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
setRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding.Builder builderForValue)
public PrivilegedAccess.GcpIamAccess.Builder setRoleBindings(int index, PrivilegedAccess.GcpIamAccess.RoleBinding.Builder builderForValue)
Required. Role bindings that are created on successful grant.
repeated .google.cloud.privilegedaccessmanager.v1.PrivilegedAccess.GcpIamAccess.RoleBinding role_bindings = 4 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final PrivilegedAccess.GcpIamAccess.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides