public static final class Cluster.ConnectionState.Builder extends GeneratedMessageV3.Builder<Cluster.ConnectionState.Builder> implements Cluster.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()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cluster.ConnectionState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Cluster.ConnectionState build()
buildPartial()
public Cluster.ConnectionState buildPartial()
clear()
public Cluster.ConnectionState.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Cluster.ConnectionState.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Cluster.ConnectionState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
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];
clone()
public Cluster.ConnectionState.Builder clone()
Overrides
getDefaultInstanceForType()
public Cluster.ConnectionState getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Cluster.ConnectionState other)
public Cluster.ConnectionState.Builder mergeFrom(Cluster.ConnectionState other)
public Cluster.ConnectionState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Cluster.ConnectionState.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.ConnectionState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
setField(Descriptors.FieldDescriptor field, Object value)
public Cluster.ConnectionState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cluster.ConnectionState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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 |
int
The enum numeric value on the wire for state to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Cluster.ConnectionState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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
|