Class RBACBindingConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RBACBindingConfig.Builder>
com.google.container.v1.RBACBindingConfig.Builder
All Implemented Interfaces:
RBACBindingConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RBACBindingConfig

public static final class RBACBindingConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<RBACBindingConfig.Builder> implements RBACBindingConfigOrBuilder
 RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings
 that can be created.
 
Protobuf type google.container.v1.RBACBindingConfig
  • Method Details

    • 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<RBACBindingConfig.Builder>
    • clear

      public RBACBindingConfig.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<RBACBindingConfig.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<RBACBindingConfig.Builder>
    • getDefaultInstanceForType

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

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

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

      public RBACBindingConfig.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<RBACBindingConfig.Builder>
    • mergeFrom

      public RBACBindingConfig.Builder mergeFrom(RBACBindingConfig other)
    • isInitialized

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

      public RBACBindingConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<RBACBindingConfig.Builder>
      Throws:
      IOException
    • hasEnableInsecureBindingSystemUnauthenticated

      public boolean hasEnableInsecureBindingSystemUnauthenticated()
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjets system:anonymous or system:unauthenticated.
       
      optional bool enable_insecure_binding_system_unauthenticated = 1;
      Specified by:
      hasEnableInsecureBindingSystemUnauthenticated in interface RBACBindingConfigOrBuilder
      Returns:
      Whether the enableInsecureBindingSystemUnauthenticated field is set.
    • getEnableInsecureBindingSystemUnauthenticated

      public boolean getEnableInsecureBindingSystemUnauthenticated()
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjets system:anonymous or system:unauthenticated.
       
      optional bool enable_insecure_binding_system_unauthenticated = 1;
      Specified by:
      getEnableInsecureBindingSystemUnauthenticated in interface RBACBindingConfigOrBuilder
      Returns:
      The enableInsecureBindingSystemUnauthenticated.
    • setEnableInsecureBindingSystemUnauthenticated

      public RBACBindingConfig.Builder setEnableInsecureBindingSystemUnauthenticated(boolean value)
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjets system:anonymous or system:unauthenticated.
       
      optional bool enable_insecure_binding_system_unauthenticated = 1;
      Parameters:
      value - The enableInsecureBindingSystemUnauthenticated to set.
      Returns:
      This builder for chaining.
    • clearEnableInsecureBindingSystemUnauthenticated

      public RBACBindingConfig.Builder clearEnableInsecureBindingSystemUnauthenticated()
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjets system:anonymous or system:unauthenticated.
       
      optional bool enable_insecure_binding_system_unauthenticated = 1;
      Returns:
      This builder for chaining.
    • hasEnableInsecureBindingSystemAuthenticated

      public boolean hasEnableInsecureBindingSystemAuthenticated()
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjects system:authenticated.
       
      optional bool enable_insecure_binding_system_authenticated = 2;
      Specified by:
      hasEnableInsecureBindingSystemAuthenticated in interface RBACBindingConfigOrBuilder
      Returns:
      Whether the enableInsecureBindingSystemAuthenticated field is set.
    • getEnableInsecureBindingSystemAuthenticated

      public boolean getEnableInsecureBindingSystemAuthenticated()
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjects system:authenticated.
       
      optional bool enable_insecure_binding_system_authenticated = 2;
      Specified by:
      getEnableInsecureBindingSystemAuthenticated in interface RBACBindingConfigOrBuilder
      Returns:
      The enableInsecureBindingSystemAuthenticated.
    • setEnableInsecureBindingSystemAuthenticated

      public RBACBindingConfig.Builder setEnableInsecureBindingSystemAuthenticated(boolean value)
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjects system:authenticated.
       
      optional bool enable_insecure_binding_system_authenticated = 2;
      Parameters:
      value - The enableInsecureBindingSystemAuthenticated to set.
      Returns:
      This builder for chaining.
    • clearEnableInsecureBindingSystemAuthenticated

      public RBACBindingConfig.Builder clearEnableInsecureBindingSystemAuthenticated()
       Setting this to true will allow any ClusterRoleBinding and RoleBinding
       with subjects system:authenticated.
       
      optional bool enable_insecure_binding_system_authenticated = 2;
      Returns:
      This builder for chaining.