public static final class AccessPolicyRule.Operation.Builder extends GeneratedMessage.Builder<AccessPolicyRule.Operation.Builder> implements AccessPolicyRule.OperationOrBuilderAttributes that are used to determine whether this rule applies to a request.
Protobuf type google.iam.v3beta.AccessPolicyRule.Operation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AccessPolicyRule.Operation.BuilderImplements
AccessPolicyRule.OperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllExcludedPermissions(Iterable<String> values)
public AccessPolicyRule.Operation.Builder addAllExcludedPermissions(Iterable<String> values) Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The excludedPermissions to add. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
addAllPermissions(Iterable<String> values)
public AccessPolicyRule.Operation.Builder addAllPermissions(Iterable<String> values) Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The permissions to add. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
addExcludedPermissions(String value)
public AccessPolicyRule.Operation.Builder addExcludedPermissions(String value) Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe excludedPermissions to add. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
addExcludedPermissionsBytes(ByteString value)
public AccessPolicyRule.Operation.Builder addExcludedPermissionsBytes(ByteString value) Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the excludedPermissions to add. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
addPermissions(String value)
public AccessPolicyRule.Operation.Builder addPermissions(String value) Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe permissions to add. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
addPermissionsBytes(ByteString value)
public AccessPolicyRule.Operation.Builder addPermissionsBytes(ByteString value) Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the permissions to add. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
build()
public AccessPolicyRule.Operation build()| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation |
|
buildPartial()
public AccessPolicyRule.Operation buildPartial()| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation |
|
clear()
public AccessPolicyRule.Operation.Builder clear()| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
|
clearExcludedPermissions()
public AccessPolicyRule.Operation.Builder clearExcludedPermissions() Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
clearPermissions()
public AccessPolicyRule.Operation.Builder clearPermissions() Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AccessPolicyRule.Operation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getExcludedPermissions(int index)
public String getExcludedPermissions(int index) Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The excludedPermissions at the given index. |
getExcludedPermissionsBytes(int index)
public ByteString getExcludedPermissionsBytes(int index) Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the excludedPermissions at the given index. |
getExcludedPermissionsCount()
public int getExcludedPermissionsCount() Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of excludedPermissions. |
getExcludedPermissionsList()
public ProtocolStringList getExcludedPermissionsList() Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the excludedPermissions. |
getPermissions(int index)
public String getPermissions(int index) Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The permissions at the given index. |
getPermissionsBytes(int index)
public ByteString getPermissionsBytes(int index) Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the permissions at the given index. |
getPermissionsCount()
public int getPermissionsCount() Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of permissions. |
getPermissionsList()
public ProtocolStringList getPermissionsList() Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the permissions. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AccessPolicyRule.Operation other)
public AccessPolicyRule.Operation.Builder mergeFrom(AccessPolicyRule.Operation other)| Parameter | |
|---|---|
| Name | Description |
other |
AccessPolicyRule.Operation |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AccessPolicyRule.Operation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AccessPolicyRule.Operation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
|
setExcludedPermissions(int index, String value)
public AccessPolicyRule.Operation.Builder setExcludedPermissions(int index, String value) Optional. Specifies the permissions that this rule excludes from the set
of affected permissions given by permissions. If a permission appears
in permissions and in excluded_permissions then it will not be
subject to the policy effect.
The excluded permissions can be specified using the same syntax as
permissions.
repeated string excluded_permissions = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe excludedPermissions to set. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |
setPermissions(int index, String value)
public AccessPolicyRule.Operation.Builder setPermissions(int index, String value) Optional. The permissions that are explicitly affected by this rule. Each
permission uses the format {service_fqdn}/{resource}.{verb}, where
{service_fqdn} is the fully qualified domain name for the service.
Currently supported permissions are as follows:
eventarc.googleapis.com/messageBuses.publish.
repeated string permissions = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe permissions to set. |
| Returns | |
|---|---|
| Type | Description |
AccessPolicyRule.Operation.Builder |
This builder for chaining. |