Class Cluster.ConnectionState.Builder (0.75.0)

publicstaticfinalclass Cluster.ConnectionState.BuilderextendsGeneratedMessageV3.Builder<Cluster.ConnectionState.Builder>implementsCluster.ConnectionStateOrBuilder

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

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicCluster.ConnectionState.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

build()

publicCluster.ConnectionStatebuild()
Returns
Type Description
Cluster.ConnectionState

buildPartial()

publicCluster.ConnectionStatebuildPartial()
Returns
Type Description
Cluster.ConnectionState

clear()

publicCluster.ConnectionState.Builderclear()
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

publicCluster.ConnectionState.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicCluster.ConnectionState.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

clearState()

publicCluster.ConnectionState.BuilderclearState()

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.Builder

This builder for chaining.

clearUpdateTime()

publicCluster.ConnectionState.BuilderclearUpdateTime()

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
Cluster.ConnectionState.Builder

clone()

publicCluster.ConnectionState.Builderclone()
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

getDefaultInstanceForType()

publicCluster.ConnectionStategetDefaultInstanceForType()
Returns
Type Description
Cluster.ConnectionState

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getState()

publicCluster.ConnectionState.StategetState()

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()

publicintgetStateValue()

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()

publicTimestampgetUpdateTime()

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.

getUpdateTimeBuilder()

publicTimestamp.BuildergetUpdateTimeBuilder()

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
Builder

getUpdateTimeOrBuilder()

publicTimestampOrBuildergetUpdateTimeOrBuilder()

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()

publicbooleanhasUpdateTime()

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Cluster.ConnectionState other)

publicCluster.ConnectionState.BuildermergeFrom(Cluster.ConnectionStateother)
Parameter
Name Description
other Cluster.ConnectionState
Returns
Type Description
Cluster.ConnectionState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicCluster.ConnectionState.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicCluster.ConnectionState.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalCluster.ConnectionState.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

mergeUpdateTime(Timestamp value)

publicCluster.ConnectionState.BuildermergeUpdateTime(Timestampvalue)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.ConnectionState.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicCluster.ConnectionState.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicCluster.ConnectionState.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

setState(Cluster.ConnectionState.State value)

publicCluster.ConnectionState.BuildersetState(Cluster.ConnectionState.Statevalue)

Output only. The current connection state.

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

Parameter
Name Description
value Cluster.ConnectionState.State

The state to set.

Returns
Type Description
Cluster.ConnectionState.Builder

This builder for chaining.

setStateValue(int value)

publicCluster.ConnectionState.BuildersetStateValue(intvalue)

Output only. The current connection state.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Cluster.ConnectionState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalCluster.ConnectionState.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Cluster.ConnectionState.Builder
Overrides

setUpdateTime(Timestamp value)

publicCluster.ConnectionState.BuildersetUpdateTime(Timestampvalue)

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

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

Parameter
Name Description
value Timestamp
Returns
Type Description
Cluster.ConnectionState.Builder

setUpdateTime(Timestamp.Builder builderForValue)

publicCluster.ConnectionState.BuildersetUpdateTime(Timestamp.BuilderbuilderForValue)

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

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Cluster.ConnectionState.Builder

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.