- 1.55.0 (latest)
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.6
- 1.2.1
- 1.1.0
- 1.0.1
- 0.5.4
public static final class MembershipState.Builder extends GeneratedMessageV3.Builder<MembershipState.Builder> implements MembershipStateOrBuilder
Anthos Config Management: State for a single cluster.
Protobuf type google.cloud.gkehub.configmanagement.v1.MembershipState
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MembershipState.BuilderImplements
MembershipStateOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MembershipState.Builder |
build()
public MembershipState build()
Type | Description |
MembershipState |
buildPartial()
public MembershipState buildPartial()
Type | Description |
MembershipState |
clear()
public MembershipState.Builder clear()
Type | Description |
MembershipState.Builder |
clearClusterName()
public MembershipState.Builder clearClusterName()
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;
Type | Description |
MembershipState.Builder | This builder for chaining. |
clearConfigSyncState()
public MembershipState.Builder clearConfigSyncState()
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Type | Description |
MembershipState.Builder |
clearField(Descriptors.FieldDescriptor field)
public MembershipState.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MembershipState.Builder |
clearHierarchyControllerState()
public MembershipState.Builder clearHierarchyControllerState()
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Type | Description |
MembershipState.Builder |
clearMembershipSpec()
public MembershipState.Builder clearMembershipSpec()
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;
Type | Description |
MembershipState.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MembershipState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MembershipState.Builder |
clearOperatorState()
public MembershipState.Builder clearOperatorState()
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Type | Description |
MembershipState.Builder |
clearPolicyControllerState()
public MembershipState.Builder clearPolicyControllerState()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Type | Description |
MembershipState.Builder |
clone()
public MembershipState.Builder clone()
Type | Description |
MembershipState.Builder |
getClusterName()
public 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;
Type | Description |
String | The clusterName. |
getClusterNameBytes()
public 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;
Type | Description |
ByteString | The bytes for clusterName. |
getConfigSyncState()
public ConfigSyncState getConfigSyncState()
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Type | Description |
ConfigSyncState | The configSyncState. |
getConfigSyncStateBuilder()
public ConfigSyncState.Builder getConfigSyncStateBuilder()
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Type | Description |
ConfigSyncState.Builder |
getConfigSyncStateOrBuilder()
public ConfigSyncStateOrBuilder getConfigSyncStateOrBuilder()
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Type | Description |
ConfigSyncStateOrBuilder |
getDefaultInstanceForType()
public MembershipState getDefaultInstanceForType()
Type | Description |
MembershipState |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getHierarchyControllerState()
public HierarchyControllerState getHierarchyControllerState()
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Type | Description |
HierarchyControllerState | The hierarchyControllerState. |
getHierarchyControllerStateBuilder()
public HierarchyControllerState.Builder getHierarchyControllerStateBuilder()
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Type | Description |
HierarchyControllerState.Builder |
getHierarchyControllerStateOrBuilder()
public HierarchyControllerStateOrBuilder getHierarchyControllerStateOrBuilder()
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Type | Description |
HierarchyControllerStateOrBuilder |
getMembershipSpec()
public 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;
Type | Description |
MembershipSpec | The membershipSpec. |
getMembershipSpecBuilder()
public MembershipSpec.Builder getMembershipSpecBuilder()
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;
Type | Description |
MembershipSpec.Builder |
getMembershipSpecOrBuilder()
public 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;
Type | Description |
MembershipSpecOrBuilder |
getOperatorState()
public OperatorState getOperatorState()
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Type | Description |
OperatorState | The operatorState. |
getOperatorStateBuilder()
public OperatorState.Builder getOperatorStateBuilder()
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Type | Description |
OperatorState.Builder |
getOperatorStateOrBuilder()
public OperatorStateOrBuilder getOperatorStateOrBuilder()
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Type | Description |
OperatorStateOrBuilder |
getPolicyControllerState()
public PolicyControllerState getPolicyControllerState()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Type | Description |
PolicyControllerState | The policyControllerState. |
getPolicyControllerStateBuilder()
public PolicyControllerState.Builder getPolicyControllerStateBuilder()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Type | Description |
PolicyControllerState.Builder |
getPolicyControllerStateOrBuilder()
public PolicyControllerStateOrBuilder getPolicyControllerStateOrBuilder()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Type | Description |
PolicyControllerStateOrBuilder |
hasConfigSyncState()
public boolean hasConfigSyncState()
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Type | Description |
boolean | Whether the configSyncState field is set. |
hasHierarchyControllerState()
public boolean hasHierarchyControllerState()
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Type | Description |
boolean | Whether the hierarchyControllerState field is set. |
hasMembershipSpec()
public 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;
Type | Description |
boolean | Whether the membershipSpec field is set. |
hasOperatorState()
public boolean hasOperatorState()
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Type | Description |
boolean | Whether the operatorState field is set. |
hasPolicyControllerState()
public boolean hasPolicyControllerState()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Type | Description |
boolean | Whether the policyControllerState field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeConfigSyncState(ConfigSyncState value)
public MembershipState.Builder mergeConfigSyncState(ConfigSyncState value)
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Name | Description |
value | ConfigSyncState |
Type | Description |
MembershipState.Builder |
mergeFrom(MembershipState other)
public MembershipState.Builder mergeFrom(MembershipState other)
Name | Description |
other | MembershipState |
Type | Description |
MembershipState.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MembershipState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MembershipState.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MembershipState.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MembershipState.Builder |
mergeHierarchyControllerState(HierarchyControllerState value)
public MembershipState.Builder mergeHierarchyControllerState(HierarchyControllerState value)
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Name | Description |
value | HierarchyControllerState |
Type | Description |
MembershipState.Builder |
mergeMembershipSpec(MembershipSpec value)
public MembershipState.Builder mergeMembershipSpec(MembershipSpec value)
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;
Name | Description |
value | MembershipSpec |
Type | Description |
MembershipState.Builder |
mergeOperatorState(OperatorState value)
public MembershipState.Builder mergeOperatorState(OperatorState value)
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Name | Description |
value | OperatorState |
Type | Description |
MembershipState.Builder |
mergePolicyControllerState(PolicyControllerState value)
public MembershipState.Builder mergePolicyControllerState(PolicyControllerState value)
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Name | Description |
value | PolicyControllerState |
Type | Description |
MembershipState.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MembershipState.Builder |
setClusterName(String value)
public MembershipState.Builder setClusterName(String value)
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;
Name | Description |
value | String The clusterName to set. |
Type | Description |
MembershipState.Builder | This builder for chaining. |
setClusterNameBytes(ByteString value)
public MembershipState.Builder setClusterNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for clusterName to set. |
Type | Description |
MembershipState.Builder | This builder for chaining. |
setConfigSyncState(ConfigSyncState value)
public MembershipState.Builder setConfigSyncState(ConfigSyncState value)
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Name | Description |
value | ConfigSyncState |
Type | Description |
MembershipState.Builder |
setConfigSyncState(ConfigSyncState.Builder builderForValue)
public MembershipState.Builder setConfigSyncState(ConfigSyncState.Builder builderForValue)
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
Name | Description |
builderForValue | ConfigSyncState.Builder |
Type | Description |
MembershipState.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MembershipState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MembershipState.Builder |
setHierarchyControllerState(HierarchyControllerState value)
public MembershipState.Builder setHierarchyControllerState(HierarchyControllerState value)
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Name | Description |
value | HierarchyControllerState |
Type | Description |
MembershipState.Builder |
setHierarchyControllerState(HierarchyControllerState.Builder builderForValue)
public MembershipState.Builder setHierarchyControllerState(HierarchyControllerState.Builder builderForValue)
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
Name | Description |
builderForValue | HierarchyControllerState.Builder |
Type | Description |
MembershipState.Builder |
setMembershipSpec(MembershipSpec value)
public MembershipState.Builder setMembershipSpec(MembershipSpec value)
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;
Name | Description |
value | MembershipSpec |
Type | Description |
MembershipState.Builder |
setMembershipSpec(MembershipSpec.Builder builderForValue)
public MembershipState.Builder setMembershipSpec(MembershipSpec.Builder builderForValue)
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;
Name | Description |
builderForValue | MembershipSpec.Builder |
Type | Description |
MembershipState.Builder |
setOperatorState(OperatorState value)
public MembershipState.Builder setOperatorState(OperatorState value)
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Name | Description |
value | OperatorState |
Type | Description |
MembershipState.Builder |
setOperatorState(OperatorState.Builder builderForValue)
public MembershipState.Builder setOperatorState(OperatorState.Builder builderForValue)
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
Name | Description |
builderForValue | OperatorState.Builder |
Type | Description |
MembershipState.Builder |
setPolicyControllerState(PolicyControllerState value)
public MembershipState.Builder setPolicyControllerState(PolicyControllerState value)
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Name | Description |
value | PolicyControllerState |
Type | Description |
MembershipState.Builder |
setPolicyControllerState(PolicyControllerState.Builder builderForValue)
public MembershipState.Builder setPolicyControllerState(PolicyControllerState.Builder builderForValue)
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Name | Description |
builderForValue | PolicyControllerState.Builder |
Type | Description |
MembershipState.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MembershipState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MembershipState.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MembershipState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MembershipState.Builder |