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
      boolean containsProperties​(java.lang.String key)
      Additional properties for the raw message
      MessageID getId()
      Message id should be unique in session
      MessageIDOrBuilder getIdOrBuilder()
      Message id should be unique in session
      java.util.Map<java.lang.String,​java.lang.String> getProperties()
      Deprecated.
      int getPropertiesCount()
      Additional properties for the raw message
      java.util.Map<java.lang.String,​java.lang.String> getPropertiesMap()
      Additional properties for the raw message
      java.lang.String getPropertiesOrDefault​(java.lang.String key, java.lang.String defaultValue)
      Additional properties for the raw message
      java.lang.String getPropertiesOrThrow​(java.lang.String key)
      Additional properties for the raw message
      java.lang.String getProtocol()
      Protocol to be used when decoding the message
      com.google.protobuf.ByteString getProtocolBytes()
      Protocol to be used when decoding the message
      com.google.protobuf.Timestamp getTimestamp()
      Message creation timestamp
      com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      Message creation timestamp
      boolean hasId()
      Message id should be unique in session
      boolean hasTimestamp()
      Message creation timestamp
      • 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 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.
        Use getPropertiesMap() 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.