Interface MembershipSpecOrBuilder (1.56.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=105

Optional. Binauthz conifguration for the cluster. Deprecated: This field 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. Binauthz conifguration for the cluster. Deprecated: This field 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. The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by 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. The user-specified cluster name used by Config Sync cluster-name-selector annotation or ClusterSelector, for applying configs to only a subset of clusters. Omit this field if the cluster's fleet membership name is used by Config Sync cluster-name-selector annotation or ClusterSelector. Set this field if a name different from the cluster's fleet membership name is used by 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=112

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()

public abstract MembershipSpec.Management getManagement()

Optional. Enables automatic Feature management.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.Management management = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MembershipSpec.Management

The management.

getManagementValue()

public abstract int getManagementValue()

Optional. Enables automatic Feature management.

.google.cloud.gkehub.configmanagement.v1beta.MembershipSpec.Management management = 12 [(.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=100

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 ACM installed.

string version = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Optional. Version of ACM installed.

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=105

Optional. Binauthz conifguration for the cluster. Deprecated: This field 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=112

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=100

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.