Package org.yamcs.protobuf
Interface ReplicationMasterInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReplicationMasterInfo
,ReplicationMasterInfo.Builder
public interface ReplicationMasterInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionYamcs instance namecom.google.protobuf.ByteString
Yamcs instance nameoptional string localAddress = 3;
com.google.protobuf.ByteString
optional string localAddress = 3;
long
optional int64 localTx = 7;
long
optional int64 nextTx = 8;
boolean
getPush()
optional bool push = 5;
optional string pushTo = 6;
com.google.protobuf.ByteString
optional string pushTo = 6;
optional string remoteAddress = 4;
com.google.protobuf.ByteString
optional string remoteAddress = 4;
getStreams
(int index) repeated string streams = 2;
com.google.protobuf.ByteString
getStreamsBytes
(int index) repeated string streams = 2;
int
repeated string streams = 2;
repeated string streams = 2;
boolean
Yamcs instance nameboolean
optional string localAddress = 3;
boolean
optional int64 localTx = 7;
boolean
optional int64 nextTx = 8;
boolean
hasPush()
optional bool push = 5;
boolean
optional string pushTo = 6;
boolean
optional string remoteAddress = 4;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasInstance
boolean hasInstance()Yamcs instance name
optional string instance = 1;
- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()Yamcs instance name
optional string instance = 1;
- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()Yamcs instance name
optional string instance = 1;
- Returns:
- The bytes for instance.
-
getStreamsList
repeated string streams = 2;
- Returns:
- A list containing the streams.
-
getStreamsCount
int getStreamsCount()repeated string streams = 2;
- Returns:
- The count of streams.
-
getStreams
repeated string streams = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The streams at the given index.
-
getStreamsBytes
com.google.protobuf.ByteString getStreamsBytes(int index) repeated string streams = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the streams at the given index.
-
hasLocalAddress
boolean hasLocalAddress()optional string localAddress = 3;
- Returns:
- Whether the localAddress field is set.
-
getLocalAddress
String getLocalAddress()optional string localAddress = 3;
- Returns:
- The localAddress.
-
getLocalAddressBytes
com.google.protobuf.ByteString getLocalAddressBytes()optional string localAddress = 3;
- Returns:
- The bytes for localAddress.
-
hasRemoteAddress
boolean hasRemoteAddress()optional string remoteAddress = 4;
- Returns:
- Whether the remoteAddress field is set.
-
getRemoteAddress
String getRemoteAddress()optional string remoteAddress = 4;
- Returns:
- The remoteAddress.
-
getRemoteAddressBytes
com.google.protobuf.ByteString getRemoteAddressBytes()optional string remoteAddress = 4;
- Returns:
- The bytes for remoteAddress.
-
hasPush
boolean hasPush()optional bool push = 5;
- Returns:
- Whether the push field is set.
-
getPush
boolean getPush()optional bool push = 5;
- Returns:
- The push.
-
hasPushTo
boolean hasPushTo()optional string pushTo = 6;
- Returns:
- Whether the pushTo field is set.
-
getPushTo
String getPushTo()optional string pushTo = 6;
- Returns:
- The pushTo.
-
getPushToBytes
com.google.protobuf.ByteString getPushToBytes()optional string pushTo = 6;
- Returns:
- The bytes for pushTo.
-
hasLocalTx
boolean hasLocalTx()optional int64 localTx = 7;
- Returns:
- Whether the localTx field is set.
-
getLocalTx
long getLocalTx()optional int64 localTx = 7;
- Returns:
- The localTx.
-
hasNextTx
boolean hasNextTx()optional int64 nextTx = 8;
- Returns:
- Whether the nextTx field is set.
-
getNextTx
long getNextTx()optional int64 nextTx = 8;
- Returns:
- The nextTx.
-