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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInstance()optional string instance = 1;com.google.protobuf.ByteStringgetInstanceBytes()optional string instance = 1;StringgetLocalAddress()optional string localAddress = 3;com.google.protobuf.ByteStringgetLocalAddressBytes()optional string localAddress = 3;StringgetPullFrom()optional string pullFrom = 6;com.google.protobuf.ByteStringgetPullFromBytes()optional string pullFrom = 6;booleangetPush()optional bool push = 5;StringgetRemoteAddress()optional string remoteAddress = 4;com.google.protobuf.ByteStringgetRemoteAddressBytes()optional string remoteAddress = 4;StringgetStreams(int index)repeated string streams = 2;com.google.protobuf.ByteStringgetStreamsBytes(int index)repeated string streams = 2;intgetStreamsCount()repeated string streams = 2;List<String>getStreamsList()repeated string streams = 2;longgetTx()optional int64 tx = 7;booleanhasInstance()optional string instance = 1;booleanhasLocalAddress()optional string localAddress = 3;booleanhasPullFrom()optional string pullFrom = 6;booleanhasPush()optional bool push = 5;booleanhasRemoteAddress()optional string remoteAddress = 4;booleanhasTx()optional int64 tx = 7;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInstance
boolean hasInstance()
optional string instance = 1;- Returns:
- Whether the instance field is set.
-
getInstance
String getInstance()
optional string instance = 1;- Returns:
- The instance.
-
getInstanceBytes
com.google.protobuf.ByteString getInstanceBytes()
optional string instance = 1;- Returns:
- The bytes for instance.
-
getStreamsList
List<String> getStreamsList()
repeated string streams = 2;- Returns:
- A list containing the streams.
-
getStreamsCount
int getStreamsCount()
repeated string streams = 2;- Returns:
- The count of streams.
-
getStreams
String getStreams(int index)
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.
-
-