Interface MembershipSpecOrBuilder (1.53.0)

public interface MembershipSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCluster()

public abstract String getCluster()

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;

Returns
Type Description
String

The cluster.

getClusterBytes()

public abstract ByteString getClusterBytes()

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;

Returns
Type Description
ByteString

The bytes for cluster.

getConfigSync()

public abstract ConfigSync getConfigSync()

Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;

Returns
Type Description
ConfigSync

The configSync.

getConfigSyncOrBuilder()

public abstract ConfigSyncOrBuilder getConfigSyncOrBuilder()

Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;

Returns
Type Description
ConfigSyncOrBuilder

getHierarchyController()

public abstract HierarchyControllerConfig getHierarchyController()

Hierarchy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;

Returns
Type Description
HierarchyControllerConfig

The hierarchyController.

getHierarchyControllerOrBuilder()

public abstract HierarchyControllerConfigOrBuilder getHierarchyControllerOrBuilder()

Hierarchy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;

Returns
Type Description
HierarchyControllerConfigOrBuilder

getManagement()

public abstract MembershipSpec.Management getManagement()

Enables automatic Feature management.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;

Returns
Type Description
MembershipSpec.Management

The management.

getManagementValue()

public abstract int getManagementValue()

Enables automatic Feature management.

.google.cloud.gkehub.configmanagement.v1.MembershipSpec.Management management = 12;

Returns
Type Description
int

The enum numeric value on the wire for management.

getPolicyController()

public abstract PolicyController getPolicyController()

Policy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;

Returns
Type Description
PolicyController

The policyController.

getPolicyControllerOrBuilder()

public abstract PolicyControllerOrBuilder getPolicyControllerOrBuilder()

Policy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;

Returns
Type Description
PolicyControllerOrBuilder

getVersion()

public abstract String getVersion()

Version of ACM installed.

string version = 10;

Returns
Type Description
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Version of ACM installed.

string version = 10;

Returns
Type Description
ByteString

The bytes for version.

hasConfigSync()

public abstract boolean hasConfigSync()

Config Sync configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.ConfigSync config_sync = 1;

Returns
Type Description
boolean

Whether the configSync field is set.

hasHierarchyController()

public abstract boolean hasHierarchyController()

Hierarchy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.HierarchyControllerConfig hierarchy_controller = 4;

Returns
Type Description
boolean

Whether the hierarchyController field is set.

hasPolicyController()

public abstract boolean hasPolicyController()

Policy Controller configuration for the cluster.

.google.cloud.gkehub.configmanagement.v1.PolicyController policy_controller = 2;

Returns
Type Description
boolean

Whether the policyController field is set.