public static final class RbacAuthorizationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder> implements RbacAuthorizationInfoOrBuilder
auditlog.v2.RbacAuthorizationInfo
Modifier and Type | Method and Description |
---|---|
RbacAuthorizationInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RbacAuthorizationInfo |
build() |
RbacAuthorizationInfo |
buildPartial() |
RbacAuthorizationInfo.Builder |
clear() |
RbacAuthorizationInfo.Builder |
clearCloudScope()
.auditlog.v2.CloudScope cloud_scope = 2; |
RbacAuthorizationInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RbacAuthorizationInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RbacAuthorizationInfo.Builder |
clearPatternName()
The resource name or prefix matched by this ACL rule.
|
RbacAuthorizationInfo.Builder |
clearPatternType()
Determines how the `resource_pattern` in the RBAC rule is used to match
against resources.
|
RbacAuthorizationInfo.Builder |
clearPlatformScope()
.auditlog.v2.PlatformScope platform_scope = 3; |
RbacAuthorizationInfo.Builder |
clearResourceType()
The type of resource being checked for authorization.
|
RbacAuthorizationInfo.Builder |
clearRole()
A role that the principal has, granting authorization to perform the
operation on the resource.
|
RbacAuthorizationInfo.Builder |
clearScope() |
RbacAuthorizationInfo.Builder |
clone() |
CloudScope |
getCloudScope()
.auditlog.v2.CloudScope cloud_scope = 2; |
CloudScope.Builder |
getCloudScopeBuilder()
.auditlog.v2.CloudScope cloud_scope = 2; |
CloudScopeOrBuilder |
getCloudScopeOrBuilder()
.auditlog.v2.CloudScope cloud_scope = 2; |
RbacAuthorizationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPatternName()
The resource name or prefix matched by this ACL rule.
|
com.google.protobuf.ByteString |
getPatternNameBytes()
The resource name or prefix matched by this ACL rule.
|
String |
getPatternType()
Determines how the `resource_pattern` in the RBAC rule is used to match
against resources.
|
com.google.protobuf.ByteString |
getPatternTypeBytes()
Determines how the `resource_pattern` in the RBAC rule is used to match
against resources.
|
PlatformScope |
getPlatformScope()
.auditlog.v2.PlatformScope platform_scope = 3; |
PlatformScope.Builder |
getPlatformScopeBuilder()
.auditlog.v2.PlatformScope platform_scope = 3; |
PlatformScopeOrBuilder |
getPlatformScopeOrBuilder()
.auditlog.v2.PlatformScope platform_scope = 3; |
String |
getResourceType()
The type of resource being checked for authorization.
|
com.google.protobuf.ByteString |
getResourceTypeBytes()
The type of resource being checked for authorization.
|
String |
getRole()
A role that the principal has, granting authorization to perform the
operation on the resource.
|
com.google.protobuf.ByteString |
getRoleBytes()
A role that the principal has, granting authorization to perform the
operation on the resource.
|
RbacAuthorizationInfo.ScopeCase |
getScopeCase() |
boolean |
hasCloudScope()
.auditlog.v2.CloudScope cloud_scope = 2; |
boolean |
hasPlatformScope()
.auditlog.v2.PlatformScope platform_scope = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RbacAuthorizationInfo.Builder |
mergeCloudScope(CloudScope value)
.auditlog.v2.CloudScope cloud_scope = 2; |
RbacAuthorizationInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RbacAuthorizationInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
RbacAuthorizationInfo.Builder |
mergeFrom(RbacAuthorizationInfo other) |
RbacAuthorizationInfo.Builder |
mergePlatformScope(PlatformScope value)
.auditlog.v2.PlatformScope platform_scope = 3; |
RbacAuthorizationInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RbacAuthorizationInfo.Builder |
setCloudScope(CloudScope.Builder builderForValue)
.auditlog.v2.CloudScope cloud_scope = 2; |
RbacAuthorizationInfo.Builder |
setCloudScope(CloudScope value)
.auditlog.v2.CloudScope cloud_scope = 2; |
RbacAuthorizationInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RbacAuthorizationInfo.Builder |
setPatternName(String value)
The resource name or prefix matched by this ACL rule.
|
RbacAuthorizationInfo.Builder |
setPatternNameBytes(com.google.protobuf.ByteString value)
The resource name or prefix matched by this ACL rule.
|
RbacAuthorizationInfo.Builder |
setPatternType(String value)
Determines how the `resource_pattern` in the RBAC rule is used to match
against resources.
|
RbacAuthorizationInfo.Builder |
setPatternTypeBytes(com.google.protobuf.ByteString value)
Determines how the `resource_pattern` in the RBAC rule is used to match
against resources.
|
RbacAuthorizationInfo.Builder |
setPlatformScope(PlatformScope.Builder builderForValue)
.auditlog.v2.PlatformScope platform_scope = 3; |
RbacAuthorizationInfo.Builder |
setPlatformScope(PlatformScope value)
.auditlog.v2.PlatformScope platform_scope = 3; |
RbacAuthorizationInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RbacAuthorizationInfo.Builder |
setResourceType(String value)
The type of resource being checked for authorization.
|
RbacAuthorizationInfo.Builder |
setResourceTypeBytes(com.google.protobuf.ByteString value)
The type of resource being checked for authorization.
|
RbacAuthorizationInfo.Builder |
setRole(String value)
A role that the principal has, granting authorization to perform the
operation on the resource.
|
RbacAuthorizationInfo.Builder |
setRoleBytes(com.google.protobuf.ByteString value)
A role that the principal has, granting authorization to perform the
operation on the resource.
|
RbacAuthorizationInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public RbacAuthorizationInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public RbacAuthorizationInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public RbacAuthorizationInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder mergeFrom(RbacAuthorizationInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public RbacAuthorizationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<RbacAuthorizationInfo.Builder>
IOException
public RbacAuthorizationInfo.ScopeCase getScopeCase()
getScopeCase
in interface RbacAuthorizationInfoOrBuilder
public RbacAuthorizationInfo.Builder clearScope()
public String getRole()
A role that the principal has, granting authorization to perform the operation on the resource.
string role = 1;
getRole
in interface RbacAuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getRoleBytes()
A role that the principal has, granting authorization to perform the operation on the resource.
string role = 1;
getRoleBytes
in interface RbacAuthorizationInfoOrBuilder
public RbacAuthorizationInfo.Builder setRole(String value)
A role that the principal has, granting authorization to perform the operation on the resource.
string role = 1;
value
- The role to set.public RbacAuthorizationInfo.Builder clearRole()
A role that the principal has, granting authorization to perform the operation on the resource.
string role = 1;
public RbacAuthorizationInfo.Builder setRoleBytes(com.google.protobuf.ByteString value)
A role that the principal has, granting authorization to perform the operation on the resource.
string role = 1;
value
- The bytes for role to set.public boolean hasCloudScope()
.auditlog.v2.CloudScope cloud_scope = 2;
hasCloudScope
in interface RbacAuthorizationInfoOrBuilder
public CloudScope getCloudScope()
.auditlog.v2.CloudScope cloud_scope = 2;
getCloudScope
in interface RbacAuthorizationInfoOrBuilder
public RbacAuthorizationInfo.Builder setCloudScope(CloudScope value)
.auditlog.v2.CloudScope cloud_scope = 2;
public RbacAuthorizationInfo.Builder setCloudScope(CloudScope.Builder builderForValue)
.auditlog.v2.CloudScope cloud_scope = 2;
public RbacAuthorizationInfo.Builder mergeCloudScope(CloudScope value)
.auditlog.v2.CloudScope cloud_scope = 2;
public RbacAuthorizationInfo.Builder clearCloudScope()
.auditlog.v2.CloudScope cloud_scope = 2;
public CloudScope.Builder getCloudScopeBuilder()
.auditlog.v2.CloudScope cloud_scope = 2;
public CloudScopeOrBuilder getCloudScopeOrBuilder()
.auditlog.v2.CloudScope cloud_scope = 2;
getCloudScopeOrBuilder
in interface RbacAuthorizationInfoOrBuilder
public boolean hasPlatformScope()
.auditlog.v2.PlatformScope platform_scope = 3;
hasPlatformScope
in interface RbacAuthorizationInfoOrBuilder
public PlatformScope getPlatformScope()
.auditlog.v2.PlatformScope platform_scope = 3;
getPlatformScope
in interface RbacAuthorizationInfoOrBuilder
public RbacAuthorizationInfo.Builder setPlatformScope(PlatformScope value)
.auditlog.v2.PlatformScope platform_scope = 3;
public RbacAuthorizationInfo.Builder setPlatformScope(PlatformScope.Builder builderForValue)
.auditlog.v2.PlatformScope platform_scope = 3;
public RbacAuthorizationInfo.Builder mergePlatformScope(PlatformScope value)
.auditlog.v2.PlatformScope platform_scope = 3;
public RbacAuthorizationInfo.Builder clearPlatformScope()
.auditlog.v2.PlatformScope platform_scope = 3;
public PlatformScope.Builder getPlatformScopeBuilder()
.auditlog.v2.PlatformScope platform_scope = 3;
public PlatformScopeOrBuilder getPlatformScopeOrBuilder()
.auditlog.v2.PlatformScope platform_scope = 3;
getPlatformScopeOrBuilder
in interface RbacAuthorizationInfoOrBuilder
public String getResourceType()
The type of resource being checked for authorization. This should correspond to the name of a resourceType that can be gated by access control. Examples: "Topic", "Cluster", "Subject", "Connector", "Billing", "ServiceAccount".
string resource_type = 4;
getResourceType
in interface RbacAuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getResourceTypeBytes()
The type of resource being checked for authorization. This should correspond to the name of a resourceType that can be gated by access control. Examples: "Topic", "Cluster", "Subject", "Connector", "Billing", "ServiceAccount".
string resource_type = 4;
getResourceTypeBytes
in interface RbacAuthorizationInfoOrBuilder
public RbacAuthorizationInfo.Builder setResourceType(String value)
The type of resource being checked for authorization. This should correspond to the name of a resourceType that can be gated by access control. Examples: "Topic", "Cluster", "Subject", "Connector", "Billing", "ServiceAccount".
string resource_type = 4;
value
- The resourceType to set.public RbacAuthorizationInfo.Builder clearResourceType()
The type of resource being checked for authorization. This should correspond to the name of a resourceType that can be gated by access control. Examples: "Topic", "Cluster", "Subject", "Connector", "Billing", "ServiceAccount".
string resource_type = 4;
public RbacAuthorizationInfo.Builder setResourceTypeBytes(com.google.protobuf.ByteString value)
The type of resource being checked for authorization. This should correspond to the name of a resourceType that can be gated by access control. Examples: "Topic", "Cluster", "Subject", "Connector", "Billing", "ServiceAccount".
string resource_type = 4;
value
- The bytes for resourceType to set.public String getPatternType()
Determines how the `resource_pattern` in the RBAC rule is used to match against resources. Usually "LITERAL" or "PREFIX".
string pattern_type = 5;
getPatternType
in interface RbacAuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getPatternTypeBytes()
Determines how the `resource_pattern` in the RBAC rule is used to match against resources. Usually "LITERAL" or "PREFIX".
string pattern_type = 5;
getPatternTypeBytes
in interface RbacAuthorizationInfoOrBuilder
public RbacAuthorizationInfo.Builder setPatternType(String value)
Determines how the `resource_pattern` in the RBAC rule is used to match against resources. Usually "LITERAL" or "PREFIX".
string pattern_type = 5;
value
- The patternType to set.public RbacAuthorizationInfo.Builder clearPatternType()
Determines how the `resource_pattern` in the RBAC rule is used to match against resources. Usually "LITERAL" or "PREFIX".
string pattern_type = 5;
public RbacAuthorizationInfo.Builder setPatternTypeBytes(com.google.protobuf.ByteString value)
Determines how the `resource_pattern` in the RBAC rule is used to match against resources. Usually "LITERAL" or "PREFIX".
string pattern_type = 5;
value
- The bytes for patternType to set.public String getPatternName()
The resource name or prefix matched by this ACL rule. A LITERAL "*" will match all resources on the cluster of the same type.
string pattern_name = 6 [(.confluent.protobuf.field_meta) = { ... }
getPatternName
in interface RbacAuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getPatternNameBytes()
The resource name or prefix matched by this ACL rule. A LITERAL "*" will match all resources on the cluster of the same type.
string pattern_name = 6 [(.confluent.protobuf.field_meta) = { ... }
getPatternNameBytes
in interface RbacAuthorizationInfoOrBuilder
public RbacAuthorizationInfo.Builder setPatternName(String value)
The resource name or prefix matched by this ACL rule. A LITERAL "*" will match all resources on the cluster of the same type.
string pattern_name = 6 [(.confluent.protobuf.field_meta) = { ... }
value
- The patternName to set.public RbacAuthorizationInfo.Builder clearPatternName()
The resource name or prefix matched by this ACL rule. A LITERAL "*" will match all resources on the cluster of the same type.
string pattern_name = 6 [(.confluent.protobuf.field_meta) = { ... }
public RbacAuthorizationInfo.Builder setPatternNameBytes(com.google.protobuf.ByteString value)
The resource name or prefix matched by this ACL rule. A LITERAL "*" will match all resources on the cluster of the same type.
string pattern_name = 6 [(.confluent.protobuf.field_meta) = { ... }
value
- The bytes for patternName to set.public final RbacAuthorizationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>
public final RbacAuthorizationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<RbacAuthorizationInfo.Builder>