Class MembershipState (1.55.0)

public final class MembershipState extends GeneratedMessageV3 implements MembershipStateOrBuilder

State of the Membership resource.

Protobuf type google.cloud.gkehub.v1beta1.MembershipState

Static Fields

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

UPDATE_TIME_FIELD_NUMBER

public static final int UPDATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MembershipState getDefaultInstance()
Returns
Type Description
MembershipState

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MembershipState.Builder newBuilder()
Returns
Type Description
MembershipState.Builder

newBuilder(MembershipState prototype)

public static MembershipState.Builder newBuilder(MembershipState prototype)
Parameter
Name Description
prototype MembershipState
Returns
Type Description
MembershipState.Builder

parseDelimitedFrom(InputStream input)

public static MembershipState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MembershipState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipState parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipState
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MembershipState parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MembershipState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MembershipState parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MembershipState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MembershipState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MembershipState parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MembershipState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MembershipState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipState parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipState
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MembershipState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MembershipState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MembershipState parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipState
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MembershipState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MembershipState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MembershipState parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MembershipState
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MembershipState> parser()
Returns
Type Description
Parser<MembershipState>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCode()

public MembershipState.Code getCode()

Output only. The current state of the Membership resource.

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

Returns
Type Description
MembershipState.Code

The code.

getCodeValue()

public int getCodeValue()

Output only. The current state of the Membership resource.

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

Returns
Type Description
int

The enum numeric value on the wire for code.

getDefaultInstanceForType()

public MembershipState getDefaultInstanceForType()
Returns
Type Description
MembershipState

getDescription() (deprecated)

public String getDescription()

Deprecated. google.cloud.gkehub.v1beta1.MembershipState.description is deprecated. See google/cloud/gkehub/v1beta1/membership.proto;l=586

This field is never set by the Hub Service.

string description = 2 [deprecated = true];

Returns
Type Description
String

The description.

getDescriptionBytes() (deprecated)

public ByteString getDescriptionBytes()

Deprecated. google.cloud.gkehub.v1beta1.MembershipState.description is deprecated. See google/cloud/gkehub/v1beta1/membership.proto;l=586

This field is never set by the Hub Service.

string description = 2 [deprecated = true];

Returns
Type Description
ByteString

The bytes for description.

getParserForType()

public Parser<MembershipState> getParserForType()
Returns
Type Description
Parser<MembershipState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUpdateTime() (deprecated)

public Timestamp getUpdateTime()

Deprecated. google.cloud.gkehub.v1beta1.MembershipState.update_time is deprecated. See google/cloud/gkehub/v1beta1/membership.proto;l=589

This field is never set by the Hub Service.

.google.protobuf.Timestamp update_time = 3 [deprecated = true];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder() (deprecated)

public TimestampOrBuilder getUpdateTimeOrBuilder()

This field is never set by the Hub Service.

.google.protobuf.Timestamp update_time = 3 [deprecated = true];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime() (deprecated)

public boolean hasUpdateTime()

Deprecated. google.cloud.gkehub.v1beta1.MembershipState.update_time is deprecated. See google/cloud/gkehub/v1beta1/membership.proto;l=589

This field is never set by the Hub Service.

.google.protobuf.Timestamp update_time = 3 [deprecated = true];

Returns
Type Description
boolean

Whether the updateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MembershipState.Builder newBuilderForType()
Returns
Type Description
MembershipState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MembershipState.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MembershipState.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MembershipState.Builder toBuilder()
Returns
Type Description
MembershipState.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException