Class ReplicationMasterInfo

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

public final class ReplicationMasterInfo extends com.google.protobuf.GeneratedMessageV3 implements ReplicationMasterInfoOrBuilder
Protobuf type yamcs.protobuf.replication.ReplicationMasterInfo
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 ReplicationMasterInfoOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

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

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

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

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

      public String getStreams(int index)
      repeated string streams = 2;
      Specified by:
      getStreams in interface ReplicationMasterInfoOrBuilder
      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 ReplicationMasterInfoOrBuilder
      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 ReplicationMasterInfoOrBuilder
      Returns:
      Whether the localAddress field is set.
    • getLocalAddress

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

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

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

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

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

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

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

      public boolean hasPushTo()
      optional string pushTo = 6;
      Specified by:
      hasPushTo in interface ReplicationMasterInfoOrBuilder
      Returns:
      Whether the pushTo field is set.
    • getPushTo

      public String getPushTo()
      optional string pushTo = 6;
      Specified by:
      getPushTo in interface ReplicationMasterInfoOrBuilder
      Returns:
      The pushTo.
    • getPushToBytes

      public com.google.protobuf.ByteString getPushToBytes()
      optional string pushTo = 6;
      Specified by:
      getPushToBytes in interface ReplicationMasterInfoOrBuilder
      Returns:
      The bytes for pushTo.
    • hasLocalTx

      public boolean hasLocalTx()
      optional int64 localTx = 7;
      Specified by:
      hasLocalTx in interface ReplicationMasterInfoOrBuilder
      Returns:
      Whether the localTx field is set.
    • getLocalTx

      public long getLocalTx()
      optional int64 localTx = 7;
      Specified by:
      getLocalTx in interface ReplicationMasterInfoOrBuilder
      Returns:
      The localTx.
    • hasNextTx

      public boolean hasNextTx()
      optional int64 nextTx = 8;
      Specified by:
      hasNextTx in interface ReplicationMasterInfoOrBuilder
      Returns:
      Whether the nextTx field is set.
    • getNextTx

      public long getNextTx()
      optional int64 nextTx = 8;
      Specified by:
      getNextTx in interface ReplicationMasterInfoOrBuilder
      Returns:
      The nextTx.
    • 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 ReplicationMasterInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ReplicationMasterInfo.Builder newBuilder()
    • newBuilder

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

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

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

      public static ReplicationMasterInfo getDefaultInstance()
    • parser

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

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