public static final class AclAuthorizationInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AclAuthorizationInfo.Builder> implements AclAuthorizationInfoOrBuilder
auditlog.v2.AclAuthorizationInfo
Modifier and Type | Method and Description |
---|---|
AclAuthorizationInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AclAuthorizationInfo |
build() |
AclAuthorizationInfo |
buildPartial() |
AclAuthorizationInfo.Builder |
clear() |
AclAuthorizationInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
AclAuthorizationInfo.Builder |
clearHost()
Either "*", or a host name, or IP address, restricting the scope of
this ACL rule to requests from a specific host (unless "*").
|
AclAuthorizationInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
AclAuthorizationInfo.Builder |
clearPatternName()
The resource name or prefix matched by this ACL rule.
|
AclAuthorizationInfo.Builder |
clearPatternType()
Either "LITERAL" or "PREFIX".
|
AclAuthorizationInfo.Builder |
clearPermissionType()
Either "ALLOW" or "DENY".
|
AclAuthorizationInfo.Builder |
clearResourceType()
The type of resource being checked for authorization.
|
AclAuthorizationInfo.Builder |
clone() |
AclAuthorizationInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHost()
Either "*", or a host name, or IP address, restricting the scope of
this ACL rule to requests from a specific host (unless "*").
|
com.google.protobuf.ByteString |
getHostBytes()
Either "*", or a host name, or IP address, restricting the scope of
this ACL rule to requests from a specific host (unless "*").
|
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()
Either "LITERAL" or "PREFIX".
|
com.google.protobuf.ByteString |
getPatternTypeBytes()
Either "LITERAL" or "PREFIX".
|
String |
getPermissionType()
Either "ALLOW" or "DENY".
|
com.google.protobuf.ByteString |
getPermissionTypeBytes()
Either "ALLOW" or "DENY".
|
String |
getResourceType()
The type of resource being checked for authorization.
|
com.google.protobuf.ByteString |
getResourceTypeBytes()
The type of resource being checked for authorization.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
AclAuthorizationInfo.Builder |
mergeFrom(AclAuthorizationInfo other) |
AclAuthorizationInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
AclAuthorizationInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
AclAuthorizationInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
AclAuthorizationInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
AclAuthorizationInfo.Builder |
setHost(String value)
Either "*", or a host name, or IP address, restricting the scope of
this ACL rule to requests from a specific host (unless "*").
|
AclAuthorizationInfo.Builder |
setHostBytes(com.google.protobuf.ByteString value)
Either "*", or a host name, or IP address, restricting the scope of
this ACL rule to requests from a specific host (unless "*").
|
AclAuthorizationInfo.Builder |
setPatternName(String value)
The resource name or prefix matched by this ACL rule.
|
AclAuthorizationInfo.Builder |
setPatternNameBytes(com.google.protobuf.ByteString value)
The resource name or prefix matched by this ACL rule.
|
AclAuthorizationInfo.Builder |
setPatternType(String value)
Either "LITERAL" or "PREFIX".
|
AclAuthorizationInfo.Builder |
setPatternTypeBytes(com.google.protobuf.ByteString value)
Either "LITERAL" or "PREFIX".
|
AclAuthorizationInfo.Builder |
setPermissionType(String value)
Either "ALLOW" or "DENY".
|
AclAuthorizationInfo.Builder |
setPermissionTypeBytes(com.google.protobuf.ByteString value)
Either "ALLOW" or "DENY".
|
AclAuthorizationInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
AclAuthorizationInfo.Builder |
setResourceType(String value)
The type of resource being checked for authorization.
|
AclAuthorizationInfo.Builder |
setResourceTypeBytes(com.google.protobuf.ByteString value)
The type of resource being checked for authorization.
|
AclAuthorizationInfo.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<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.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<AclAuthorizationInfo.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<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public AclAuthorizationInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public AclAuthorizationInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public AclAuthorizationInfo.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<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.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<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.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<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.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<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.Builder mergeFrom(AclAuthorizationInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<AclAuthorizationInfo.Builder>
public AclAuthorizationInfo.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<AclAuthorizationInfo.Builder>
IOException
public String getPermissionType()
Either "ALLOW" or "DENY".
string permission_type = 1;
getPermissionType
in interface AclAuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getPermissionTypeBytes()
Either "ALLOW" or "DENY".
string permission_type = 1;
getPermissionTypeBytes
in interface AclAuthorizationInfoOrBuilder
public AclAuthorizationInfo.Builder setPermissionType(String value)
Either "ALLOW" or "DENY".
string permission_type = 1;
value
- The permissionType to set.public AclAuthorizationInfo.Builder clearPermissionType()
Either "ALLOW" or "DENY".
string permission_type = 1;
public AclAuthorizationInfo.Builder setPermissionTypeBytes(com.google.protobuf.ByteString value)
Either "ALLOW" or "DENY".
string permission_type = 1;
value
- The bytes for permissionType to set.public String getHost()
Either "*", or a host name, or IP address, restricting the scope of this ACL rule to requests from a specific host (unless "*"). Examples: "*", "192.168.1.1"
string host = 2 [(.confluent.protobuf.field_meta) = { ... }
getHost
in interface AclAuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getHostBytes()
Either "*", or a host name, or IP address, restricting the scope of this ACL rule to requests from a specific host (unless "*"). Examples: "*", "192.168.1.1"
string host = 2 [(.confluent.protobuf.field_meta) = { ... }
getHostBytes
in interface AclAuthorizationInfoOrBuilder
public AclAuthorizationInfo.Builder setHost(String value)
Either "*", or a host name, or IP address, restricting the scope of this ACL rule to requests from a specific host (unless "*"). Examples: "*", "192.168.1.1"
string host = 2 [(.confluent.protobuf.field_meta) = { ... }
value
- The host to set.public AclAuthorizationInfo.Builder clearHost()
Either "*", or a host name, or IP address, restricting the scope of this ACL rule to requests from a specific host (unless "*"). Examples: "*", "192.168.1.1"
string host = 2 [(.confluent.protobuf.field_meta) = { ... }
public AclAuthorizationInfo.Builder setHostBytes(com.google.protobuf.ByteString value)
Either "*", or a host name, or IP address, restricting the scope of this ACL rule to requests from a specific host (unless "*"). Examples: "*", "192.168.1.1"
string host = 2 [(.confluent.protobuf.field_meta) = { ... }
value
- The bytes for host to set.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 = 3;
getResourceType
in interface AclAuthorizationInfoOrBuilder
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 = 3;
getResourceTypeBytes
in interface AclAuthorizationInfoOrBuilder
public AclAuthorizationInfo.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 = 3;
value
- The resourceType to set.public AclAuthorizationInfo.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 = 3;
public AclAuthorizationInfo.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 = 3;
value
- The bytes for resourceType to set.public String getPatternType()
Either "LITERAL" or "PREFIX". Determines how the `pattern_name` in this ACL rule is used to match against resources.
string pattern_type = 4;
getPatternType
in interface AclAuthorizationInfoOrBuilder
public com.google.protobuf.ByteString getPatternTypeBytes()
Either "LITERAL" or "PREFIX". Determines how the `pattern_name` in this ACL rule is used to match against resources.
string pattern_type = 4;
getPatternTypeBytes
in interface AclAuthorizationInfoOrBuilder
public AclAuthorizationInfo.Builder setPatternType(String value)
Either "LITERAL" or "PREFIX". Determines how the `pattern_name` in this ACL rule is used to match against resources.
string pattern_type = 4;
value
- The patternType to set.public AclAuthorizationInfo.Builder clearPatternType()
Either "LITERAL" or "PREFIX". Determines how the `pattern_name` in this ACL rule is used to match against resources.
string pattern_type = 4;
public AclAuthorizationInfo.Builder setPatternTypeBytes(com.google.protobuf.ByteString value)
Either "LITERAL" or "PREFIX". Determines how the `pattern_name` in this ACL rule is used to match against resources.
string pattern_type = 4;
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 = 5 [(.confluent.protobuf.field_meta) = { ... }
getPatternName
in interface AclAuthorizationInfoOrBuilder
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 = 5 [(.confluent.protobuf.field_meta) = { ... }
getPatternNameBytes
in interface AclAuthorizationInfoOrBuilder
public AclAuthorizationInfo.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 = 5 [(.confluent.protobuf.field_meta) = { ... }
value
- The patternName to set.public AclAuthorizationInfo.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 = 5 [(.confluent.protobuf.field_meta) = { ... }
public AclAuthorizationInfo.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 = 5 [(.confluent.protobuf.field_meta) = { ... }
value
- The bytes for patternName to set.public final AclAuthorizationInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AclAuthorizationInfo.Builder>
public final AclAuthorizationInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<AclAuthorizationInfo.Builder>