Package com.exactpro.th2.common.grpc
Interface RawMessageMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RawMessageMetadata,RawMessageMetadata.Builder
public interface RawMessageMetadataOrBuilder 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 raw messageMessageIDgetId()Message id should be unique in sessionMessageIDOrBuildergetIdOrBuilder()Message id should be unique in sessionjava.util.Map<java.lang.String,java.lang.String>getProperties()Deprecated.intgetPropertiesCount()Additional properties for the raw messagejava.util.Map<java.lang.String,java.lang.String>getPropertiesMap()Additional properties for the raw messagejava.lang.StringgetPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)Additional properties for the raw messagejava.lang.StringgetPropertiesOrThrow(java.lang.String key)Additional properties for the raw messagejava.lang.StringgetProtocol()Protocol to be used when decoding the messagecom.google.protobuf.ByteStringgetProtocolBytes()Protocol to be used when decoding 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;
-
getPropertiesCount
int getPropertiesCount()
Additional properties for the raw message
map<string, string> properties = 3;
-
containsProperties
boolean containsProperties(java.lang.String key)
Additional properties for the raw message
map<string, string> properties = 3;
-
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 raw message
map<string, string> properties = 3;
-
getPropertiesOrDefault
java.lang.String getPropertiesOrDefault(java.lang.String key, java.lang.String defaultValue)Additional properties for the raw message
map<string, string> properties = 3;
-
getPropertiesOrThrow
java.lang.String getPropertiesOrThrow(java.lang.String key)
Additional properties for the raw message
map<string, string> properties = 3;
-
getProtocol
java.lang.String getProtocol()
Protocol to be used when decoding the message
string protocol = 4;- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()
Protocol to be used when decoding the message
string protocol = 4;- Returns:
- The bytes for protocol.
-
-