Package com.exactpro.th2.common.grpc
Interface MessageMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MessageMetadata,MessageMetadata.Builder
public interface MessageMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsProperties(java.lang.String key)Additional properties for the messageMessageIDgetId()Message id should be unique in sessionMessageIDOrBuildergetIdOrBuilder()Message id should be unique in sessionjava.lang.StringgetMessageType()Message type by dictionarycom.google.protobuf.ByteStringgetMessageTypeBytes()Message type by dictionaryjava.util.Map<java.lang.String,java.lang.String>getProperties()Deprecated.intgetPropertiesCount()Additional properties for the messagejava.util.Map<java.lang.String,java.lang.String>getPropertiesMap()Additional properties for the messagejava.lang.StringgetPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)Additional properties for the messagejava.lang.StringgetPropertiesOrThrow(java.lang.String key)Additional properties for the messagejava.lang.StringgetProtocol()Protocol to be used when encoding the messagecom.google.protobuf.ByteStringgetProtocolBytes()Protocol to be used when encoding the messagecom.google.protobuf.TimestampgetTimestamp()Message creation timestampcom.google.protobuf.TimestampOrBuildergetTimestampOrBuilder()Message creation timestampbooleanhasId()Message id should be unique in sessionbooleanhasTimestamp()Message creation timestamp-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasId
boolean hasId()
Message id should be unique in session
.MessageID id = 1;- Returns:
- Whether the id field is set.
-
getId
MessageID getId()
Message id should be unique in session
.MessageID id = 1;- Returns:
- The id.
-
getIdOrBuilder
MessageIDOrBuilder getIdOrBuilder()
Message id should be unique in session
.MessageID id = 1;
-
hasTimestamp
boolean hasTimestamp()
Message creation timestamp
.google.protobuf.Timestamp timestamp = 2;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
com.google.protobuf.Timestamp getTimestamp()
Message creation timestamp
.google.protobuf.Timestamp timestamp = 2;- Returns:
- The timestamp.
-
getTimestampOrBuilder
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
Message creation timestamp
.google.protobuf.Timestamp timestamp = 2;
-
getMessageType
java.lang.String getMessageType()
Message type by dictionary
string message_type = 3;- Returns:
- The messageType.
-
getMessageTypeBytes
com.google.protobuf.ByteString getMessageTypeBytes()
Message type by dictionary
string message_type = 3;- Returns:
- The bytes for messageType.
-
getPropertiesCount
int getPropertiesCount()
Additional properties for the message
map<string, string> properties = 4;
-
containsProperties
boolean containsProperties(java.lang.String key)
Additional properties for the message
map<string, string> properties = 4;
-
getProperties
@Deprecated java.util.Map<java.lang.String,java.lang.String> getProperties()
Deprecated.UsegetPropertiesMap()instead.
-
getPropertiesMap
java.util.Map<java.lang.String,java.lang.String> getPropertiesMap()
Additional properties for the message
map<string, string> properties = 4;
-
getPropertiesOrDefault
java.lang.String getPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)Additional properties for the message
map<string, string> properties = 4;
-
getPropertiesOrThrow
java.lang.String getPropertiesOrThrow(java.lang.String key)
Additional properties for the message
map<string, string> properties = 4;
-
getProtocol
java.lang.String getProtocol()
Protocol to be used when encoding the message
string protocol = 5;- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()
Protocol to be used when encoding the message
string protocol = 5;- Returns:
- The bytes for protocol.
-
-