Package org.yamcs.protobuf
Interface ReplicationSlaveInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReplicationSlaveInfo
,ReplicationSlaveInfo.Builder
public interface ReplicationSlaveInfoOrBuilder
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;
optional string pullFrom = 6;
com.google.protobuf.ByteString
optional string pullFrom = 6;
boolean
getPush()
optional bool push = 5;
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;
long
getTx()
optional int64 tx = 7;
boolean
Yamcs instance nameboolean
optional string localAddress = 3;
boolean
optional string pullFrom = 6;
boolean
hasPush()
optional bool push = 5;
boolean
optional string remoteAddress = 4;
boolean
hasTx()
optional int64 tx = 7;
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.
-
hasPullFrom
boolean hasPullFrom()optional string pullFrom = 6;
- Returns:
- Whether the pullFrom field is set.
-
getPullFrom
String getPullFrom()optional string pullFrom = 6;
- Returns:
- The pullFrom.
-
getPullFromBytes
com.google.protobuf.ByteString getPullFromBytes()optional string pullFrom = 6;
- Returns:
- The bytes for pullFrom.
-
hasTx
boolean hasTx()optional int64 tx = 7;
- Returns:
- Whether the tx field is set.
-
getTx
long getTx()optional int64 tx = 7;
- Returns:
- The tx.
-