Class RBACPerRoute.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RBACPerRouteOrBuilder, java.lang.Cloneable
    Enclosing class:
    RBACPerRoute

    public static final class RBACPerRoute.Builder
    extends com.google.protobuf.GeneratedMessage.Builder<RBACPerRoute.Builder>
    implements RBACPerRouteOrBuilder
    Protobuf type envoy.extensions.filters.http.rbac.v3.RBACPerRoute
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Builder()  
      private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      RBACPerRoute build()  
      RBACPerRoute buildPartial()  
      private void buildPartial0​(RBACPerRoute result)  
      RBACPerRoute.Builder clear()  
      RBACPerRoute.Builder clearRbac()
      Override the global configuration of the filter with this new config.
      RBACPerRoute getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      RBAC getRbac()
      Override the global configuration of the filter with this new config.
      RBAC.Builder getRbacBuilder()
      Override the global configuration of the filter with this new config.
      private com.google.protobuf.SingleFieldBuilder<RBAC,​RBAC.Builder,​RBACOrBuilder> getRbacFieldBuilder()
      Override the global configuration of the filter with this new config.
      RBACOrBuilder getRbacOrBuilder()
      Override the global configuration of the filter with this new config.
      boolean hasRbac()
      Override the global configuration of the filter with this new config.
      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      private void maybeForceBuilderInitialization()  
      RBACPerRoute.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      RBACPerRoute.Builder mergeFrom​(com.google.protobuf.Message other)  
      RBACPerRoute.Builder mergeFrom​(RBACPerRoute other)  
      RBACPerRoute.Builder mergeRbac​(RBAC value)
      Override the global configuration of the filter with this new config.
      RBACPerRoute.Builder setRbac​(RBAC value)
      Override the global configuration of the filter with this new config.
      RBACPerRoute.Builder setRbac​(RBAC.Builder builderForValue)
      Override the global configuration of the filter with this new config.
      • Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

        addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Field Detail

      • bitField0_

        private int bitField0_
      • rbac_

        private RBAC rbac_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RBACPerRoute.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • clear

        public RBACPerRoute.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessage.Builder<RBACPerRoute.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RBACPerRoute.Builder>
      • getDefaultInstanceForType

        public RBACPerRoute getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RBACPerRoute build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RBACPerRoute buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • buildPartial0

        private void buildPartial0​(RBACPerRoute result)
      • mergeFrom

        public RBACPerRoute.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RBACPerRoute.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RBACPerRoute.Builder>
      • mergeFrom

        public RBACPerRoute.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                       throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RBACPerRoute.Builder>
        Throws:
        java.io.IOException
      • hasRbac

        public boolean hasRbac()
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
        Specified by:
        hasRbac in interface RBACPerRouteOrBuilder
        Returns:
        Whether the rbac field is set.
      • getRbac

        public RBAC getRbac()
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
        Specified by:
        getRbac in interface RBACPerRouteOrBuilder
        Returns:
        The rbac.
      • setRbac

        public RBACPerRoute.Builder setRbac​(RBAC value)
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
      • setRbac

        public RBACPerRoute.Builder setRbac​(RBAC.Builder builderForValue)
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
      • mergeRbac

        public RBACPerRoute.Builder mergeRbac​(RBAC value)
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
      • clearRbac

        public RBACPerRoute.Builder clearRbac()
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
      • getRbacBuilder

        public RBAC.Builder getRbacBuilder()
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
      • getRbacOrBuilder

        public RBACOrBuilder getRbacOrBuilder()
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;
        Specified by:
        getRbacOrBuilder in interface RBACPerRouteOrBuilder
      • getRbacFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<RBAC,​RBAC.Builder,​RBACOrBuilder> getRbacFieldBuilder()
         Override the global configuration of the filter with this new config.
         If absent, the global RBAC policy will be disabled for this route.
         
        .envoy.extensions.filters.http.rbac.v3.RBAC rbac = 2;