Interface MembershipStateOrBuilder (1.46.0)

public interface MembershipStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getClusterName()

public abstract String getClusterName()

This field is set to the cluster_name field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.

string cluster_name = 1;

Returns
Type Description
String

The clusterName.

getClusterNameBytes()

public abstract ByteString getClusterNameBytes()

This field is set to the cluster_name field of the Membership Spec if it is not empty. Otherwise, it is set to the cluster's fleet membership name.

string cluster_name = 1;

Returns
Type Description
ByteString

The bytes for clusterName.

getConfigSyncState()

public abstract ConfigSyncState getConfigSyncState()

Current sync status

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

Returns
Type Description
ConfigSyncState

The configSyncState.

getConfigSyncStateOrBuilder()

public abstract ConfigSyncStateOrBuilder getConfigSyncStateOrBuilder()

Current sync status

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

Returns
Type Description
ConfigSyncStateOrBuilder

getHierarchyControllerState()

public abstract HierarchyControllerState getHierarchyControllerState()

Hierarchy Controller status

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

Returns
Type Description
HierarchyControllerState

The hierarchyControllerState.

getHierarchyControllerStateOrBuilder()

public abstract HierarchyControllerStateOrBuilder getHierarchyControllerStateOrBuilder()

Hierarchy Controller status

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

Returns
Type Description
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
Type Description
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
Type Description
MembershipSpecOrBuilder

getOperatorState()

public abstract OperatorState getOperatorState()

Current install status of ACM's Operator

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

Returns
Type Description
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
Type Description
OperatorStateOrBuilder

getPolicyControllerState()

public abstract PolicyControllerState getPolicyControllerState()

PolicyController status

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

Returns
Type Description
PolicyControllerState

The policyControllerState.

getPolicyControllerStateOrBuilder()

public abstract PolicyControllerStateOrBuilder getPolicyControllerStateOrBuilder()

PolicyController status

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

Returns
Type Description
PolicyControllerStateOrBuilder

hasConfigSyncState()

public abstract boolean hasConfigSyncState()

Current sync status

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the policyControllerState field is set.