Interface MembershipStateOrBuilder (1.3.0)

public interface MembershipStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterName()

public abstract String getClusterName()

The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.

string cluster_name = 1;

Returns
TypeDescription
String

The clusterName.

getClusterNameBytes()

public abstract ByteString getClusterNameBytes()

The user-defined name for the cluster used by ClusterSelectors to group clusters together. This should match Membership's membership_name, unless the user installed ACM on the cluster manually prior to enabling the ACM hub feature. Unique within a Anthos Config Management installation.

string cluster_name = 1;

Returns
TypeDescription
ByteString

The bytes for clusterName.

getConfigSyncState()

public abstract ConfigSyncState getConfigSyncState()

Current sync status

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;

Returns
TypeDescription
ConfigSyncState

The configSyncState.

getConfigSyncStateOrBuilder()

public abstract ConfigSyncStateOrBuilder getConfigSyncStateOrBuilder()

Current sync status

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;

Returns
TypeDescription
ConfigSyncStateOrBuilder

getHierarchyControllerState()

public abstract HierarchyControllerState getHierarchyControllerState()

Hierarchy Controller status

.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;

Returns
TypeDescription
HierarchyControllerState

The hierarchyControllerState.

getHierarchyControllerStateOrBuilder()

public abstract HierarchyControllerStateOrBuilder getHierarchyControllerStateOrBuilder()

Hierarchy Controller status

.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;

Returns
TypeDescription
HierarchyControllerStateOrBuilder

getMembershipSpec()

public abstract MembershipSpec getMembershipSpec()

Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state

.google.cloud.gkehub.configmanagement.v1.MembershipSpec membership_spec = 2;

Returns
TypeDescription
MembershipSpec

The membershipSpec.

getMembershipSpecOrBuilder()

public abstract MembershipSpecOrBuilder getMembershipSpecOrBuilder()

Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state

.google.cloud.gkehub.configmanagement.v1.MembershipSpec membership_spec = 2;

Returns
TypeDescription
MembershipSpecOrBuilder

getOperatorState()

public abstract OperatorState getOperatorState()

Current install status of ACM's Operator

.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;

Returns
TypeDescription
OperatorState

The operatorState.

getOperatorStateOrBuilder()

public abstract OperatorStateOrBuilder getOperatorStateOrBuilder()

Current install status of ACM's Operator

.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;

Returns
TypeDescription
OperatorStateOrBuilder

getPolicyControllerState()

public abstract PolicyControllerState getPolicyControllerState()

PolicyController status

.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;

Returns
TypeDescription
PolicyControllerState

The policyControllerState.

getPolicyControllerStateOrBuilder()

public abstract PolicyControllerStateOrBuilder getPolicyControllerStateOrBuilder()

PolicyController status

.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;

Returns
TypeDescription
PolicyControllerStateOrBuilder

hasConfigSyncState()

public abstract boolean hasConfigSyncState()

Current sync status

.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;

Returns
TypeDescription
boolean

Whether the configSyncState field is set.

hasHierarchyControllerState()

public abstract boolean hasHierarchyControllerState()

Hierarchy Controller status

.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;

Returns
TypeDescription
boolean

Whether the hierarchyControllerState field is set.

hasMembershipSpec()

public abstract boolean hasMembershipSpec()

Membership configuration in the cluster. This represents the actual state in the cluster, while the MembershipSpec in the FeatureSpec represents the intended state

.google.cloud.gkehub.configmanagement.v1.MembershipSpec membership_spec = 2;

Returns
TypeDescription
boolean

Whether the membershipSpec field is set.

hasOperatorState()

public abstract boolean hasOperatorState()

Current install status of ACM's Operator

.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;

Returns
TypeDescription
boolean

Whether the operatorState field is set.

hasPolicyControllerState()

public abstract boolean hasPolicyControllerState()

PolicyController status

.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;

Returns
TypeDescription
boolean

Whether the policyControllerState field is set.