Interface MembershipSpecOrBuilder (1.87.0)

public interface MembershipSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBinauthz() (deprecated)

public abstract BinauthzConfig 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
Type Description
BinauthzConfig

The binauthz.

getBinauthzOrBuilder() (deprecated)

public abstract BinauthzConfigOrBuilder getBinauthzOrBuilder()

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
Type Description
BinauthzConfigOrBuilder

getCluster()

public abstract 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
Type Description
String

The cluster.

getClusterBytes()

public abstract 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
Type Description
ByteString

The bytes for cluster.

getConfigSync()

public abstract ConfigSync getConfigSync()

Optional. Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigSync

The configSync.

getConfigSyncOrBuilder()

public abstract ConfigSyncOrBuilder getConfigSyncOrBuilder()

Optional. Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConfigSyncOrBuilder

getHierarchyController() (deprecated)

public abstract 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
Type Description
HierarchyControllerConfig

The hierarchyController.

getHierarchyControllerOrBuilder() (deprecated)

public abstract HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()

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
Type Description
HierarchyControllerConfigOrBuilder

getManagement() (deprecated)

public abstract MembershipSpec.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
Type Description
MembershipSpec.Management

The management.

getManagementValue() (deprecated)

public abstract 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
Type Description
int

The enum numeric value on the wire for management.

getPolicyController() (deprecated)

public abstract 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
Type Description
PolicyController

The policyController.

getPolicyControllerOrBuilder() (deprecated)

public abstract PolicyControllerOrBuilder getPolicyControllerOrBuilder()

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
Type Description
PolicyControllerOrBuilder

getVersion()

public abstract 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
Type Description
String

The version.

getVersionBytes()

public abstract 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
Type Description
ByteString

The bytes for version.

hasBinauthz() (deprecated)

public abstract 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
Type Description
boolean

Whether the binauthz field is set.

hasConfigSync()

public abstract boolean hasConfigSync()

Optional. Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1beta.ConfigSync config_sync = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the configSync field is set.

hasHierarchyController() (deprecated)

public abstract 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
Type Description
boolean

Whether the hierarchyController field is set.

hasPolicyController() (deprecated)

public abstract 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
Type Description
boolean

Whether the policyController field is set.