Interface MembershipSpecOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MembershipSpec, MembershipSpec.Builder

@Generated public interface MembershipSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasConfigSync

      boolean hasConfigSync()
       Optional. Config Sync configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the configSync field is set.
    • getConfigSync

      ConfigSync getConfigSync()
       Optional. Config Sync configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The configSync.
    • getConfigSyncOrBuilder

      ConfigSyncOrBuilder getConfigSyncOrBuilder()
       Optional. Config Sync configuration for the cluster.
       
      .google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];
    • hasPolicyController

      @Deprecated boolean hasPolicyController()
      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.policy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=104
       Optional. Policy Controller configuration for the cluster.
       Deprecated: Configuring Policy Controller through the configmanagement
       feature is no longer recommended. Use the policycontroller feature instead.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyController policy_controller = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the policyController field is set.
    • getPolicyController

      @Deprecated PolicyController getPolicyController()
      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.policy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=104
       Optional. Policy Controller configuration for the cluster.
       Deprecated: Configuring Policy Controller through the configmanagement
       feature is no longer recommended. Use the policycontroller feature instead.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyController policy_controller = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The policyController.
    • getPolicyControllerOrBuilder

      @Deprecated PolicyControllerOrBuilder getPolicyControllerOrBuilder()
      Deprecated.
       Optional. Policy Controller configuration for the cluster.
       Deprecated: Configuring Policy Controller through the configmanagement
       feature is no longer recommended. Use the policycontroller feature instead.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyController policy_controller = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • hasBinauthz

      @Deprecated boolean hasBinauthz()
      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.binauthz is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=109
       Optional. Deprecated: Binauthz configuration will be ignored and should not
       be set.
       
      .google.cloud.gkehub.configmanagement.v1beta.BinauthzConfig binauthz = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the binauthz field is set.
    • getBinauthz

      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.binauthz is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=109
       Optional. Deprecated: Binauthz configuration will be ignored and should not
       be set.
       
      .google.cloud.gkehub.configmanagement.v1beta.BinauthzConfig binauthz = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The binauthz.
    • getBinauthzOrBuilder

      @Deprecated BinauthzConfigOrBuilder getBinauthzOrBuilder()
      Deprecated.
       Optional. Deprecated: Binauthz configuration will be ignored and should not
       be set.
       
      .google.cloud.gkehub.configmanagement.v1beta.BinauthzConfig binauthz = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • hasHierarchyController

      @Deprecated boolean hasHierarchyController()
      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.hierarchy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=116
       Optional. Hierarchy Controller configuration for the cluster.
       Deprecated: Configuring Hierarchy Controller through the configmanagement
       feature is no longer recommended. Use
       https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
       
      .google.cloud.gkehub.configmanagement.v1beta.HierarchyControllerConfig hierarchy_controller = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the hierarchyController field is set.
    • getHierarchyController

      @Deprecated HierarchyControllerConfig getHierarchyController()
      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.hierarchy_controller is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=116
       Optional. Hierarchy Controller configuration for the cluster.
       Deprecated: Configuring Hierarchy Controller through the configmanagement
       feature is no longer recommended. Use
       https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
       
      .google.cloud.gkehub.configmanagement.v1beta.HierarchyControllerConfig hierarchy_controller = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The hierarchyController.
    • getHierarchyControllerOrBuilder

      @Deprecated HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()
      Deprecated.
       Optional. Hierarchy Controller configuration for the cluster.
       Deprecated: Configuring Hierarchy Controller through the configmanagement
       feature is no longer recommended. Use
       https://github.com/kubernetes-sigs/hierarchical-namespaces instead.
       
      .google.cloud.gkehub.configmanagement.v1beta.HierarchyControllerConfig hierarchy_controller = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
    • getVersion

      String getVersion()
       Optional. Version of Config Sync to install. Defaults to the latest
       supported Config Sync version if the config_sync field is enabled. See
       supported versions at
       https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
       
      string version = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       Optional. Version of Config Sync to install. Defaults to the latest
       supported Config Sync version if the config_sync field is enabled. See
       supported versions at
       https://cloud.google.com/kubernetes-engine/config-sync/docs/get-support-config-sync#version_support_policy.
       
      string version = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for version.
    • getCluster

      String getCluster()
       Optional. User-specified cluster name used by the Config Sync
       cluster-name-selector annotation or ClusterSelector object, for applying
       configs to only a subset of clusters. Read more about the
       cluster-name-selector annotation and ClusterSelector object at
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs.
       Only set this field if a name different from the cluster's fleet membership
       name is used by the Config Sync cluster-name-selector annotation or
       ClusterSelector.
       
      string cluster = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The cluster.
    • getClusterBytes

      com.google.protobuf.ByteString getClusterBytes()
       Optional. User-specified cluster name used by the Config Sync
       cluster-name-selector annotation or ClusterSelector object, for applying
       configs to only a subset of clusters. Read more about the
       cluster-name-selector annotation and ClusterSelector object at
       https://docs.cloud.google.com/kubernetes-engine/config-sync/docs/how-to/cluster-scoped-objects#limiting-configs.
       Only set this field if a name different from the cluster's fleet membership
       name is used by the Config Sync cluster-name-selector annotation or
       ClusterSelector.
       
      string cluster = 11 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for cluster.
    • getManagementValue

      @Deprecated int getManagementValue()
      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.management is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=137
       Optional. Deprecated: From version 1.21.0, automatic Feature management is
       unavailable, and Config Sync only supports manual upgrades.
       
      .google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.Management management = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The enum numeric value on the wire for management.
    • getManagement

      Deprecated.
      google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.management is deprecated. See google/cloud/gkehub/v1beta/configmanagement/configmanagement.proto;l=137
       Optional. Deprecated: From version 1.21.0, automatic Feature management is
       unavailable, and Config Sync only supports manual upgrades.
       
      .google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.Management management = 12 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The management.