mil.dod.th.remote.client/test/mil/dod/th/remote/client/parse/impl/MessageUtils.java
public static TerraHarvestMessage createMessage(TerraHarvestPayload payload)
    {
        TerraHarvestMessage thmessage = TerraHarvestMessage.newBuilder()
                .setDestId(DEST_ID)
                .setIsResponse(false)
                .setMessageId(MSG_ID)
                .setSourceId(SRC_ID)
                .setTerraHarvestPayload(payload.toByteString())
                .setVersion(RemoteConstants.SPEC_VERSION)
                .build();

        return thmessage;
    }
/**
     * Create a final message with the given payload.
     * 
     * @param payload
     *      payload message to attach
     * @return
     *      TerraHarvest message
     */
Create a final message with the given payload.

@param payload
payload message to attach
@return
TerraHarvest message
Create a final message with the given payload . @param payload payload message to attach @return TerraHarvest message
public static TerraHarvestMessage createMessage(TerraHarvestPayload payload)
    {
        TerraHarvestMessage thmessage = TerraHarvestMessage.newBuilder()
                .setDestId(DEST_ID)
                .setIsResponse(false)
                .setMessageId(MSG_ID)
                .setSourceId(SRC_ID)
                .setTerraHarvestPayload(payload.toByteString())
                .setVersion(RemoteConstants.SPEC_VERSION)
                .build();
        return thmessage;
    }
public static TerraHarvestMessage createMessage ( TerraHarvestPayload payload ) { TerraHarvestMessage thmessage = TerraHarvestMessage . newBuilder ( ) . setDestId ( DEST_ID ) . setIsResponse ( false ) . setMessageId ( MSG_ID ) . setSourceId ( SRC_ID ) . setTerraHarvestPayload ( payload . toByteString ( ) ) . setVersion ( RemoteConstants . SPEC_VERSION ) . build ( ) ; return thmessage ; }
Create a final message with the given payload.
Create a final message with the given payload .