Interface MembershipStateOrBuilder (1.45.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
Type Description
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
Type Description
int

The enum numeric value on the wire for code.