Class Coordinator.ClusterState

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.coordinator.Coordinator.ClusterState
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Coordinator.ClusterStateOrBuilder, Serializable
Enclosing class:
Coordinator

public static final class Coordinator.ClusterState extends com.google.protobuf.GeneratedMessageV3 implements Coordinator.ClusterStateOrBuilder
Protobuf type dingodb.pb.coordinator.ClusterState
See Also:
  • Field Details

    • CLUSTER_IS_READ_ONLY_FIELD_NUMBER

      public static final int CLUSTER_IS_READ_ONLY_FIELD_NUMBER
      See Also:
    • CLUSTER_IS_FORCE_READ_ONLY_FIELD_NUMBER

      public static final int CLUSTER_IS_FORCE_READ_ONLY_FIELD_NUMBER
      See Also:
    • CLUSTER_READ_ONLY_REASON_FIELD_NUMBER

      public static final int CLUSTER_READ_ONLY_REASON_FIELD_NUMBER
      See Also:
    • CLUSTER_FORCE_READ_ONLY_REASON_FIELD_NUMBER

      public static final int CLUSTER_FORCE_READ_ONLY_REASON_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getClusterIsReadOnly

      public boolean getClusterIsReadOnly()
      bool cluster_is_read_only = 1;
      Specified by:
      getClusterIsReadOnly in interface Coordinator.ClusterStateOrBuilder
      Returns:
      The clusterIsReadOnly.
    • getClusterIsForceReadOnly

      public boolean getClusterIsForceReadOnly()
      bool cluster_is_force_read_only = 2;
      Specified by:
      getClusterIsForceReadOnly in interface Coordinator.ClusterStateOrBuilder
      Returns:
      The clusterIsForceReadOnly.
    • getClusterReadOnlyReason

      public String getClusterReadOnlyReason()
      string cluster_read_only_reason = 3;
      Specified by:
      getClusterReadOnlyReason in interface Coordinator.ClusterStateOrBuilder
      Returns:
      The clusterReadOnlyReason.
    • getClusterReadOnlyReasonBytes

      public com.google.protobuf.ByteString getClusterReadOnlyReasonBytes()
      string cluster_read_only_reason = 3;
      Specified by:
      getClusterReadOnlyReasonBytes in interface Coordinator.ClusterStateOrBuilder
      Returns:
      The bytes for clusterReadOnlyReason.
    • getClusterForceReadOnlyReason

      public String getClusterForceReadOnlyReason()
      string cluster_force_read_only_reason = 4;
      Specified by:
      getClusterForceReadOnlyReason in interface Coordinator.ClusterStateOrBuilder
      Returns:
      The clusterForceReadOnlyReason.
    • getClusterForceReadOnlyReasonBytes

      public com.google.protobuf.ByteString getClusterForceReadOnlyReasonBytes()
      string cluster_force_read_only_reason = 4;
      Specified by:
      getClusterForceReadOnlyReasonBytes in interface Coordinator.ClusterStateOrBuilder
      Returns:
      The bytes for clusterForceReadOnlyReason.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Coordinator.ClusterState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Coordinator.ClusterState parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Coordinator.ClusterState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coordinator.ClusterState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Coordinator.ClusterState.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Coordinator.ClusterState.Builder newBuilder()
    • newBuilder

      public static Coordinator.ClusterState.Builder newBuilder(Coordinator.ClusterState prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Coordinator.ClusterState.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Coordinator.ClusterState getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Coordinator.ClusterState> parser()
    • getParserForType

      public com.google.protobuf.Parser<Coordinator.ClusterState> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Coordinator.ClusterState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder