Class ReplicationSlaveInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.yamcs.protobuf.ReplicationSlaveInfo
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, ReplicationSlaveInfoOrBuilder

public final class ReplicationSlaveInfo extends com.google.protobuf.GeneratedMessageV3 implements ReplicationSlaveInfoOrBuilder
Protobuf type yamcs.protobuf.replication.ReplicationSlaveInfo
See Also:
  • Field Details

  • Method Details

    • newInstance

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

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields 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
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface ReplicationSlaveInfoOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstance in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The bytes for instance.
    • getStreamsList

      public com.google.protobuf.ProtocolStringList getStreamsList()
      repeated string streams = 2;
      Specified by:
      getStreamsList in interface ReplicationSlaveInfoOrBuilder
      Returns:
      A list containing the streams.
    • getStreamsCount

      public int getStreamsCount()
      repeated string streams = 2;
      Specified by:
      getStreamsCount in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The count of streams.
    • getStreams

      public String getStreams(int index)
      repeated string streams = 2;
      Specified by:
      getStreams in interface ReplicationSlaveInfoOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The streams at the given index.
    • getStreamsBytes

      public com.google.protobuf.ByteString getStreamsBytes(int index)
      repeated string streams = 2;
      Specified by:
      getStreamsBytes in interface ReplicationSlaveInfoOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the streams at the given index.
    • hasLocalAddress

      public boolean hasLocalAddress()
      optional string localAddress = 3;
      Specified by:
      hasLocalAddress in interface ReplicationSlaveInfoOrBuilder
      Returns:
      Whether the localAddress field is set.
    • getLocalAddress

      public String getLocalAddress()
      optional string localAddress = 3;
      Specified by:
      getLocalAddress in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The localAddress.
    • getLocalAddressBytes

      public com.google.protobuf.ByteString getLocalAddressBytes()
      optional string localAddress = 3;
      Specified by:
      getLocalAddressBytes in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The bytes for localAddress.
    • hasRemoteAddress

      public boolean hasRemoteAddress()
      optional string remoteAddress = 4;
      Specified by:
      hasRemoteAddress in interface ReplicationSlaveInfoOrBuilder
      Returns:
      Whether the remoteAddress field is set.
    • getRemoteAddress

      public String getRemoteAddress()
      optional string remoteAddress = 4;
      Specified by:
      getRemoteAddress in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The remoteAddress.
    • getRemoteAddressBytes

      public com.google.protobuf.ByteString getRemoteAddressBytes()
      optional string remoteAddress = 4;
      Specified by:
      getRemoteAddressBytes in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The bytes for remoteAddress.
    • hasPush

      public boolean hasPush()
      optional bool push = 5;
      Specified by:
      hasPush in interface ReplicationSlaveInfoOrBuilder
      Returns:
      Whether the push field is set.
    • getPush

      public boolean getPush()
      optional bool push = 5;
      Specified by:
      getPush in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The push.
    • hasPullFrom

      public boolean hasPullFrom()
      optional string pullFrom = 6;
      Specified by:
      hasPullFrom in interface ReplicationSlaveInfoOrBuilder
      Returns:
      Whether the pullFrom field is set.
    • getPullFrom

      public String getPullFrom()
      optional string pullFrom = 6;
      Specified by:
      getPullFrom in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The pullFrom.
    • getPullFromBytes

      public com.google.protobuf.ByteString getPullFromBytes()
      optional string pullFrom = 6;
      Specified by:
      getPullFromBytes in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The bytes for pullFrom.
    • hasTx

      public boolean hasTx()
      optional int64 tx = 7;
      Specified by:
      hasTx in interface ReplicationSlaveInfoOrBuilder
      Returns:
      Whether the tx field is set.
    • getTx

      public long getTx()
      optional int64 tx = 7;
      Specified by:
      getTx in interface ReplicationSlaveInfoOrBuilder
      Returns:
      The tx.
    • 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 ReplicationSlaveInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static ReplicationSlaveInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static ReplicationSlaveInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static ReplicationSlaveInfo.Builder newBuilder()
    • newBuilder

      public static ReplicationSlaveInfo.Builder newBuilder(ReplicationSlaveInfo prototype)
    • toBuilder

      public ReplicationSlaveInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static ReplicationSlaveInfo getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ReplicationSlaveInfo> 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 ReplicationSlaveInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder