Package com.exonum.core.messages
Interface Consensus.ConnectOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Consensus.Connect
,Consensus.Connect.Builder
- Enclosing class:
- Consensus
public static interface Consensus.ConnectOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and Type Method Description String
getHost()
string host = 1;
com.google.protobuf.ByteString
getHostBytes()
string host = 1;
com.google.protobuf.Timestamp
getTime()
.google.protobuf.Timestamp time = 2;
com.google.protobuf.TimestampOrBuilder
getTimeOrBuilder()
.google.protobuf.Timestamp time = 2;
String
getUserAgent()
string user_agent = 3;
com.google.protobuf.ByteString
getUserAgentBytes()
string user_agent = 3;
boolean
hasTime()
.google.protobuf.Timestamp time = 2;
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getHost
String getHost()string host = 1;
- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()string host = 1;
- Returns:
- The bytes for host.
-
hasTime
boolean hasTime().google.protobuf.Timestamp time = 2;
- Returns:
- Whether the time field is set.
-
getTime
com.google.protobuf.Timestamp getTime().google.protobuf.Timestamp time = 2;
- Returns:
- The time.
-
getTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getTimeOrBuilder().google.protobuf.Timestamp time = 2;
-
getUserAgent
String getUserAgent()string user_agent = 3;
- Returns:
- The userAgent.
-
getUserAgentBytes
com.google.protobuf.ByteString getUserAgentBytes()string user_agent = 3;
- Returns:
- The bytes for userAgent.
-