Class Cluster.ConnectionState (0.52.0)

public static final class Cluster.ConnectionState extends GeneratedMessageV3 implements Cluster.ConnectionStateOrBuilder

ConnectionState holds the current connection state from the cluster to Google.

Protobuf type google.cloud.edgecontainer.v1.Cluster.ConnectionState

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_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 Cluster.ConnectionState getDefaultInstance()
Returns
Type Description
Cluster.ConnectionState

getDescriptor()

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

newBuilder()

public static Cluster.ConnectionState.Builder newBuilder()
Returns
Type Description
Cluster.ConnectionState.Builder

newBuilder(Cluster.ConnectionState prototype)

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

parseDelimitedFrom(InputStream input)

public static Cluster.ConnectionState parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.ConnectionState
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Cluster.ConnectionState parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Cluster.ConnectionState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Cluster.ConnectionState parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Cluster.ConnectionState
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Cluster.ConnectionState parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Cluster.ConnectionState
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Cluster.ConnectionState parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Cluster.ConnectionState
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Cluster.ConnectionState> parser()
Returns
Type Description
Parser<ConnectionState>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public Cluster.ConnectionState getDefaultInstanceForType()
Returns
Type Description
Cluster.ConnectionState

getParserForType()

public Parser<Cluster.ConnectionState> getParserForType()
Returns
Type Description
Parser<ConnectionState>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public Cluster.ConnectionState.State getState()

Output only. The current connection state.

.google.cloud.edgecontainer.v1.Cluster.ConnectionState.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Cluster.ConnectionState.State

The state.

getStateValue()

public int getStateValue()

Output only. The current connection state.

.google.cloud.edgecontainer.v1.Cluster.ConnectionState.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the connection state was last changed.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the connection state was last changed.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasUpdateTime()

public boolean hasUpdateTime()

Output only. The time when the connection state was last changed.

.google.protobuf.Timestamp update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

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 Cluster.ConnectionState.Builder newBuilderForType()
Returns
Type Description
Cluster.ConnectionState.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Cluster.ConnectionState.Builder toBuilder()
Returns
Type Description
Cluster.ConnectionState.Builder

writeTo(CodedOutputStream output)

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