public final class MembershipState extends GeneratedMessageV3 implements MembershipStateOrBuilder
Anthos Config Management: State for a single cluster.
Protobuf type google.cloud.gkehub.configmanagement.v1.MembershipState
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLUSTER_NAME_FIELD_NUMBER
public static final int CLUSTER_NAME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
CONFIG_SYNC_STATE_FIELD_NUMBER
public static final int CONFIG_SYNC_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
HIERARCHY_CONTROLLER_STATE_FIELD_NUMBER
public static final int HIERARCHY_CONTROLLER_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
MEMBERSHIP_SPEC_FIELD_NUMBER
public static final int MEMBERSHIP_SPEC_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
OPERATOR_STATE_FIELD_NUMBER
public static final int OPERATOR_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
POLICY_CONTROLLER_STATE_FIELD_NUMBER
public static final int POLICY_CONTROLLER_STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MembershipState getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MembershipState.Builder newBuilder()
newBuilder(MembershipState prototype)
public static MembershipState.Builder newBuilder(MembershipState prototype)
public static MembershipState parseDelimitedFrom(InputStream input)
public static MembershipState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MembershipState parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MembershipState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MembershipState parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MembershipState parseFrom(CodedInputStream input)
public static MembershipState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MembershipState parseFrom(InputStream input)
public static MembershipState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MembershipState parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MembershipState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MembershipState> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getClusterName()
public 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 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 ConfigSyncState getConfigSyncState()
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
getConfigSyncStateOrBuilder()
public ConfigSyncStateOrBuilder getConfigSyncStateOrBuilder()
Current sync status
.google.cloud.gkehub.configmanagement.v1.ConfigSyncState config_sync_state = 4;
getDefaultInstanceForType()
public MembershipState getDefaultInstanceForType()
getHierarchyControllerState()
public HierarchyControllerState getHierarchyControllerState()
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
getHierarchyControllerStateOrBuilder()
public HierarchyControllerStateOrBuilder getHierarchyControllerStateOrBuilder()
Hierarchy Controller status
.google.cloud.gkehub.configmanagement.v1.HierarchyControllerState hierarchy_controller_state = 7;
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;
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;
getOperatorState()
public OperatorState getOperatorState()
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
getOperatorStateOrBuilder()
public OperatorStateOrBuilder getOperatorStateOrBuilder()
Current install status of ACM's Operator
.google.cloud.gkehub.configmanagement.v1.OperatorState operator_state = 3;
getParserForType()
public Parser<MembershipState> getParserForType()
Overrides
getPolicyControllerState()
public PolicyControllerState getPolicyControllerState()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
getPolicyControllerStateOrBuilder()
public PolicyControllerStateOrBuilder getPolicyControllerStateOrBuilder()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasConfigSyncState()
public 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 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 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 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 boolean hasPolicyControllerState()
PolicyController status
.google.cloud.gkehub.configmanagement.v1.PolicyControllerState policy_controller_state = 5;
Returns |
Type |
Description |
boolean |
Whether the policyControllerState field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MembershipState.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MembershipState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MembershipState.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides