Class MembershipState (1.53.0)

public final class MembershipState extends GeneratedMessageV3 implements MembershipStateOrBuilder

Service Mesh: State for a single Membership, as analyzed by the Service Mesh Hub Controller.

Protobuf type google.cloud.gkehub.servicemesh.v1beta.MembershipState

Static Fields

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

CONTROL_PLANE_MANAGEMENT_FIELD_NUMBER

public static final int CONTROL_PLANE_MANAGEMENT_FIELD_NUMBER
Field Value
Type Description
int

DATA_PLANE_MANAGEMENT_FIELD_NUMBER

public static final int DATA_PLANE_MANAGEMENT_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

getConditions(int index)

public MembershipState.Condition getConditions(int index)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MembershipState.Condition

getConditionsCount()

public int getConditionsCount()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getConditionsList()

public List<MembershipState.Condition> getConditionsList()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Condition>

getConditionsOrBuilder(int index)

public MembershipState.ConditionOrBuilder getConditionsOrBuilder(int index)

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
MembershipState.ConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends MembershipState.ConditionOrBuilder> getConditionsOrBuilderList()

Output only. List of conditions reported for this membership.

repeated .google.cloud.gkehub.servicemesh.v1beta.MembershipState.Condition conditions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ConditionOrBuilder>

getControlPlaneManagement()

public MembershipState.ControlPlaneManagement getControlPlaneManagement()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.ControlPlaneManagement

The controlPlaneManagement.

getControlPlaneManagementOrBuilder()

public MembershipState.ControlPlaneManagementOrBuilder getControlPlaneManagementOrBuilder()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.ControlPlaneManagementOrBuilder

getDataPlaneManagement()

public MembershipState.DataPlaneManagement getDataPlaneManagement()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.DataPlaneManagement

The dataPlaneManagement.

getDataPlaneManagementOrBuilder()

public MembershipState.DataPlaneManagementOrBuilder getDataPlaneManagementOrBuilder()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MembershipState.DataPlaneManagementOrBuilder

getDefaultInstanceForType()

public MembershipState getDefaultInstanceForType()
Returns
Type Description
MembershipState

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasControlPlaneManagement()

public boolean hasControlPlaneManagement()

Output only. Status of control plane management

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.ControlPlaneManagement control_plane_management = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the controlPlaneManagement field is set.

hasDataPlaneManagement()

public boolean hasDataPlaneManagement()

Output only. Status of data plane management.

.google.cloud.gkehub.servicemesh.v1beta.MembershipState.DataPlaneManagement data_plane_management = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataPlaneManagement 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