Interface MembershipStateOrBuilder (1.20.0)

public interface MembershipStateOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCode()

public abstract MembershipState.Code getCode()

Output only. The current state of the Membership resource.

.google.cloud.gkehub.v1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
MembershipState.Code

The code.

getCodeValue()

public abstract int getCodeValue()

Output only. The current state of the Membership resource.

.google.cloud.gkehub.v1.MembershipState.Code code = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for code.