public static final class Cluster.ConnectionState.Builder extends GeneratedMessage.Builder<Cluster.ConnectionState.Builder> implements Cluster.ConnectionStateOrBuilderConnectionState holds the current connection state from the cluster to Google.
Protobuf type google.cloud.edgecontainer.v1.Cluster.ConnectionState
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Cluster.ConnectionState.BuilderImplements
Cluster.ConnectionStateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Cluster.ConnectionState build()| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState |
|
buildPartial()
public Cluster.ConnectionState buildPartial()| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState |
|
clear()
public Cluster.ConnectionState.Builder clear()| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState.Builder |
|
clearState()
public Cluster.ConnectionState.Builder clearState()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()
public Cluster.ConnectionState.Builder clearUpdateTime()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 |
|
getDefaultInstanceForType()
public Cluster.ConnectionState getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()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()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Cluster.ConnectionState other)
public Cluster.ConnectionState.Builder mergeFrom(Cluster.ConnectionState other)| Parameter | |
|---|---|
| Name | Description |
other |
Cluster.ConnectionState |
| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cluster.ConnectionState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Cluster.ConnectionState.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState.Builder |
|
mergeUpdateTime(Timestamp value)
public Cluster.ConnectionState.Builder mergeUpdateTime(Timestamp value)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 |
|
setState(Cluster.ConnectionState.State value)
public Cluster.ConnectionState.Builder setState(Cluster.ConnectionState.State value)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.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState.Builder |
This builder for chaining. |
setStateValue(int value)
public Cluster.ConnectionState.Builder setStateValue(int value)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 |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Cluster.ConnectionState.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Cluster.ConnectionState.Builder setUpdateTime(Timestamp value)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)
public Cluster.ConnectionState.Builder setUpdateTime(Timestamp.Builder builderForValue)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 |
|