public static final class Rbac.Policy.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder> implements Rbac.PolicyOrBuilder
Policy specifies a role and the principals that are assigned/denied the role. A policy matches if and only if at least one of its permissions match the action taking place AND at least one of its principals match the downstream.Protobuf type
envoy.config.rbac.v2alpha.PolicygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Rbac.Policy build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Rbac.Policy buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Rbac.Policy.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder mergeFrom(Rbac.Policy other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public Rbac.Policy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Rbac.Policy.Builder>IOExceptionpublic List<Rbac.Permission> getPermissionsList()
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }getPermissionsList in interface Rbac.PolicyOrBuilderpublic int getPermissionsCount()
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }getPermissionsCount in interface Rbac.PolicyOrBuilderpublic Rbac.Permission getPermissions(int index)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }getPermissions in interface Rbac.PolicyOrBuilderpublic Rbac.Policy.Builder setPermissions(int index, Rbac.Permission value)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder setPermissions(int index, Rbac.Permission.Builder builderForValue)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPermissions(Rbac.Permission value)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPermissions(int index, Rbac.Permission value)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPermissions(Rbac.Permission.Builder builderForValue)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPermissions(int index, Rbac.Permission.Builder builderForValue)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder addAllPermissions(Iterable<? extends Rbac.Permission> values)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder clearPermissions()
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Policy.Builder removePermissions(int index)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Permission.Builder getPermissionsBuilder(int index)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.PermissionOrBuilder getPermissionsOrBuilder(int index)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }getPermissionsOrBuilder in interface Rbac.PolicyOrBuilderpublic List<? extends Rbac.PermissionOrBuilder> getPermissionsOrBuilderList()
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }getPermissionsOrBuilderList in interface Rbac.PolicyOrBuilderpublic Rbac.Permission.Builder addPermissionsBuilder()
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public Rbac.Permission.Builder addPermissionsBuilder(int index)
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public List<Rbac.Permission.Builder> getPermissionsBuilderList()
Required. The set of permissions that define a role. Each permission is matched with OR semantics. To match all actions for this policy, a single Permission with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Permission permissions = 1 [(.validate.rules) = { ... }public List<Rbac.Principal> getPrincipalsList()
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }getPrincipalsList in interface Rbac.PolicyOrBuilderpublic int getPrincipalsCount()
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }getPrincipalsCount in interface Rbac.PolicyOrBuilderpublic Rbac.Principal getPrincipals(int index)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }getPrincipals in interface Rbac.PolicyOrBuilderpublic Rbac.Policy.Builder setPrincipals(int index, Rbac.Principal value)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder setPrincipals(int index, Rbac.Principal.Builder builderForValue)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPrincipals(Rbac.Principal value)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPrincipals(int index, Rbac.Principal value)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPrincipals(Rbac.Principal.Builder builderForValue)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder addPrincipals(int index, Rbac.Principal.Builder builderForValue)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder addAllPrincipals(Iterable<? extends Rbac.Principal> values)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder clearPrincipals()
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Policy.Builder removePrincipals(int index)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Principal.Builder getPrincipalsBuilder(int index)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.PrincipalOrBuilder getPrincipalsOrBuilder(int index)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }getPrincipalsOrBuilder in interface Rbac.PolicyOrBuilderpublic List<? extends Rbac.PrincipalOrBuilder> getPrincipalsOrBuilderList()
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }getPrincipalsOrBuilderList in interface Rbac.PolicyOrBuilderpublic Rbac.Principal.Builder addPrincipalsBuilder()
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public Rbac.Principal.Builder addPrincipalsBuilder(int index)
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public List<Rbac.Principal.Builder> getPrincipalsBuilderList()
Required. The set of principals that are assigned/denied the role based on “action”. Each principal is matched with OR semantics. To match all downstreams for this policy, a single Principal with the `any` field set to true should be used.
repeated .envoy.config.rbac.v2alpha.Principal principals = 2 [(.validate.rules) = { ... }public final Rbac.Policy.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>public final Rbac.Policy.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Rbac.Policy.Builder>Copyright © 2018 The Envoy Project. All rights reserved.