Class Cluster.ConnectionState.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Cluster.ConnectionState.Builder>
com.google.cloud.edgecontainer.v1.Cluster.ConnectionState.Builder
All Implemented Interfaces:
Cluster.ConnectionStateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Cluster.ConnectionState

public static final class Cluster.ConnectionState.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Cluster.ConnectionState.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Cluster.ConnectionState.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Cluster.ConnectionState.Builder>
    • getDefaultInstanceForType

      public Cluster.ConnectionState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Cluster.ConnectionState build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Cluster.ConnectionState buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Cluster.ConnectionState.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.ConnectionState.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Cluster.ConnectionState.Builder>
    • mergeFrom

      public Cluster.ConnectionState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cluster.ConnectionState.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getStateValue in interface Cluster.ConnectionStateOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      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];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getState in interface Cluster.ConnectionStateOrBuilder
      Returns:
      The state.
    • setState

       Output only. The current connection state.
       
      .google.cloud.edgecontainer.v1.Cluster.ConnectionState.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • 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];
      Specified by:
      hasUpdateTime in interface Cluster.ConnectionStateOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.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];
      Specified by:
      getUpdateTime in interface Cluster.ConnectionStateOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Cluster.ConnectionState.Builder setUpdateTime(com.google.protobuf.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

      public Cluster.ConnectionState.Builder setUpdateTime(com.google.protobuf.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];
    • mergeUpdateTime

      public Cluster.ConnectionState.Builder mergeUpdateTime(com.google.protobuf.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];
    • 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];
    • getUpdateTimeBuilder

      public com.google.protobuf.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 com.google.protobuf.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];
      Specified by:
      getUpdateTimeOrBuilder in interface Cluster.ConnectionStateOrBuilder